Why Data Is Buffered - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

10.2.3

Why Data is Buffered

Example
Data transfer from CPU 3 to CPU 2:
1st step:
C
C
C
C
O
P
P
P
U
R
U
U
2
C
1
3
CPU 3 buffers its data on the coordinator.
2nd step:
RECEI V E , p a r a m e t e r o f t r a n s m i t t i n g CPU = 3
C
C
C
C
O
P
P
P
R
U
U
U
C
1
2
3
When CPU 2 is ready to receive, it copies the data from the coordinator
buffer to the destination DB.
CPU 948 Programming Guide
C79000-G8576-C848-04
Generally, the multiprocessor mode is used to distribute tasks on
several CPUs. Since the tasks are not identical and the performance of
the CPUs involved can be different, the program execution of the
individual CPs in the multiprocessor mode is always asynchronous.
This means that the data sent by a CPU cannot always be received
immediately by another CPU.
For this reason, the data to be transferred is buffered on the
coordinator 923 C. The number of the sender and receiver are always
included along with the data.
S E ND, p a r a m e t e r o f r e c e i v i n g CP U = 2
C
C
P
P
I
I
C
C
P
I
I
P
Multiprocessor Communication
. .
I
I
Q
Q
M
. .
. .
I
I
Q
Q
M
. .
10 - 17

Advertisement

Table of Contents
loading

Table of Contents