64
04/99 AWB 2700-1311 GB
Example
The PS 4-300 (master) exchanges “word” data with a
slave with CPU. The number of send and receive
bytes is defined when the stations are configured in
the Sucosoft S 40 topology configurator (See
"Topology Configuration" on page 37).
Figure 26: Configuration example for sending and receiving
communication data to/from slaves with CPU
The syntax for sending and receiving the data can be
derived from the configuration.
Table 9: Syntax for addressing slaves with CPU
(data type: word)
Master
RD
SD
RD
SD
Line 1
Intelligent slave
햲
햳
IL program
in ...
Data flow Operand Data type Line Stn. Modul
e
Byte/
word
Bit Syntax
.Master Master
R
slave
Master
r
slave
RDW/
SDW
Word 1 1 0 0 – RDW1.1.0.0/
SDW1.1.0.0
Slave Master
R
slave
Master
r
slave
RDW/
SDW
Word 0 0 0 0 – RDW0.0.0.0/
SDW0.0.0.0
H1311g.bk Seite 64 Freitag, 4. Juni 1999 1:12 13