Siemens CPU 948 Programming Manual page 481

Simatic s5 s5-155u
Table of Contents

Advertisement

Application example
Application of FB 100/101 on the S5-155U
Task
You want to exchange data between three CPUs:
From CPU 1 to CPU 2:
-
From CPU 1 to CPU 3:
-
From CPU 2 to CPU 1
-
and CPU 3:
CPU 1
DB 5 ,
3 d a t a
f i e l d s
CPU 2
Fig. 10-7
Data exchange between 3 CPUs
Function block FB 1 is the interface for the cyclic user program on all
three CPUs. CPU 1 calls the INITIALIZE function (OB 200) during the cold
restart. The link list is in data block DB 100.
CPU 948 Programming Guide
C79000-G8576-C848-04
data block DB 3, DW 0 to DW 127 (= 4 data fields)
data block DX 4, DW 0 to DW 63 (= 2 data fields)
data block DB 5, DW 0 to DW 95 (= 3 data fields)
DX 4 , 2 d a t a f i e l d s
DB 3 ,
4 d a t a
f i e l d s
DB 5 , 3 d a t a f i e l d s
Continued on the next page
Applications
CPU 3
10 - 77

Advertisement

Table of Contents
loading

Table of Contents