Message packet format – Rockwell Automation 1770, D17706.5.16 Ref Mnl DF1 Protocol Command User Manual
Page 82
6–3
Application Layer Message Packets
Publication 1770Ć6.5.16 - October 1996
Most devices send and receive messages using this message
packet format:
DST
CMD STS
CommandĆspecific
data packet
SRC
read
write
The bytes are shown from left to right in the order they are transmitted across the link.
SIZE DATA
TNS
ADDR
SRC
CMD STS
CommandĆspecific
data packet
DST
TNS
SRC
CMD STS
DST
TNS
FNC
Command
Reply
Field
Contents
See
DST
destination node for the message
page
SRC
source node of the message
FNC
function code
page
CMD
command code
ADDR
address of memory location (2 bytes)
STS
status code
page
EXT STS
extended status code
SIZE
number of bytes to be transferred
TNS
transaction number (2 bytes)
DATA
data values being transferred by the message
The number of data bytes in a message depends on
the command or function being executed.
Chapter 7
The combination of SRC, CMD, and TNS bytes uniquely identifies
every message packet. One of these fields in the current message
must be different than the corresponding field in the last message
received by a command executor. If all fields are the same, the
message is ignored and is considered to be a duplicate. If the
receiving module has the “ignore duplicate messages” option
enabled, the message will be ignored.
Message Packet Format