Slaves with CPU
63
04/99 AWB 2700-1311 GB
Table 7: Syntax for addressing slaves without CPU
Slaves with CPU The input and output operands cannot be accessed
directly during communication between the master
and slaves with CPU. The communication data must
therefore be addressed using the RD/SD operands.
The general syntax rule for addressing the operands
is:
Operand Data type Line.Station.Module.Byte.Bit
If the PS 4-300 is used as the master, the following
slave operands can be addressed using the values
specified in the table:
Table 8: Operand addressing for slaves with CPU
RD = Receive data, i.e. set number of receive bytes
SD = Send data, i.e. set number of send bytes
IS = Status/diagnostics
IL program
in ...
Data flow Operand Data type Line Stn. Modul
e
Byte/word Bit S 40 syntax
Master Master
e
Slave 1
I Bit 1 1 1 0 7 LD% I1.1.1.0.7
Master
e
Slave 2
IB Byte 1 2 0 0 – LD% IB1.2.0.0
Operands Line Station Module Word/byte Bit
RD/SD
IS
1 to 3
(0 = master)
1 to 30 (line 1)
1 to 8 (line 2, 3)
(0 = master)
1 to 5 (master local
expansion modules)
(0 = master basic unit)
0, 1, 2, ... 0 to 7
RDB/SDB
ISB
–
RDW/SDW 0, 2, 4, ...
RDD/SDD 0, 4, 8, ...
H1311g.bk Seite 63 Freitag, 4. Juni 1999 1:12 13