EasyManua.ls Logo

Siemens CPU 948 - Page 481

Siemens CPU 948
548 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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: data block DB 3, DW 0 to DW 127 (= 4 data fields)
- From CPU 1 to CPU 3: data block DX 4, DW 0 to DW 63 (= 2 data fields)
- From CPU 2 to CPU 1
and CPU 3:
data block DB 5, DW 0 to DW 95 (= 3 data fields)
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.
Continued on the next page
DB 5, 3 data fields
DB 3,
4 data
fields
DB 5,
3 data
fields
DX 4, 2 data fields
CPU 2 CPU 3
CPU 1
Fig. 10-7 Data exchange between 3 CPUs
Applications
CPU 948 Programming Guide
C79000-G8576-C848-04
10 - 77

Table of Contents

Related product manuals