88 Rockwell Automation Publication 1756-PM020F-EN-P - January 2019
The typed read command reads a block of data starting at the PLC-5 system
address plus the packet offset.
Request Format: [packet offset][total transaction][PLC-5 system address][size]
[packet offset] 2 bytes, offset in number of elements
• [total transaction] 2 bytes, number of elements in complete transaction
• [PLC-5 system address]
• [size] is 2 bytes; number of elements to return in this reply
Reply Format: [Type/ID][data]
• [Type/ID] 1 byte, (for integers) or 2 bytes (for float) type and size of elements
• SINT, INT, DINT (type: integer; size 1,2,4 bytes) REAL (type: float, size 4 bytes)
• For details about Type/ID encoding, see the DF1 Protocol and Command Set Reference Manual
,
publication 1770-6.5.16 .
[data]
See also
PLC-5 Communication Commands on page 85
The typed write command writes a block of data starting at the PLC-5
system address plus the packet offset.
Request Format: [packet offset] [total transaction][PLC-5 system address] [type/ID] [data]
• [packet offset] 2 bytes, offset in number of elements
• [total transaction] 2 bytes, number of elements in complete transaction
• [PLC-5 system address]
• [type/ID] 1 byte (for integers) or by 2 bytes (for float), type and size of elements.
• SINT, INT, DINT (type: integer; size 1,2,4 bytes) REAL (type: float, size 4 bytes)
• Integer conversion; error if data value too large for target integer type (SINT or INT)
• For details about Type/ID encoding, see the DF1 Protocol and Command Set Reference Manual
,
publication 1770-6.5.16 .
• [data]
Reply Format:
no data, only status
See also
PLC-5 Communication Commands on page 85
The word range read command reads a block of words starting at the PLC-5
system address plus the word offset.
FNC=68)
FNC=67)
Word Range Read (CMD=0F, 4F;
FNC=01)