Rockwell Automation 1770-KF2 Data Highway or Highway Plus Interface Module User Manual User Manual
Page 119

Message Packet Formats
Chapter 5
5-40
Physical Read
This command reads the specified number of bytes from the memory of
the selected PLC-4 controller. Use this command to upload the contents
of PLC-4 memory to your computer. The SIZE field contains the number
of bytes to be read, and it may have a value from 1 to 242 decimal.
Reply Format:
(EXT STS Byte Optional)
B.
Format When Reporting an Error
TNS
STS
CMD
4E
SRC
DST
TNS
STS
CMD
4E
SRC
DST
EXT
STS
A.
Format When Successful Execution
Command Format:
TNS
STS
CMD
0E
SRC
DST
FNC
0D
PLC-4
SEL
DATA
1-242 Bytes
ADDR
SIZE
Physical Write
This command writes bytes of data into the memory of the selected PLC-4
controller. Use this command to download data from your computer to
the controller. The PLC-4 ADDRESS field contains the physical byte
address where the data will begin being written into PLC-4 memory.
Refer to Chapter 6 for a description of this physical address.
TNS
STS
CMD
0E
SRC
DST
FNC
0E
TOTAL
TRANS
DATA
1-239 Bytes
Command Format:
PLC-4
SEL
TNS
STS
CMD
4E
SRC
DST
TNS
STS
CMD
4E
SRC
DST
EXT
STS
Reply Format:
(EXT STS Byte Optional)
B.
Format When Reporting an Error
A.
Format When Successful Execution