
6–3Application Layer Message Packets
Publication
17706.5.16 - October 1996
Most devices send and receive messages using this message
packet format:
DST CMD STS
Commandspecific
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
Commandspecific
data packet
DST TNS
SRC CMD STSDST TNS
FNC
Command
Reply
Field Contents See
DST destination node for the message
SRC source node of the message
page 6-4
FNC function code
CMD command code
page 6-5
ADDR address of memory location (2 bytes) page 6-8
STS status code
EXT STS extended status code
page 6-6
SIZE number of bytes to be transferred page 6-8
TNS transaction number (2 bytes) page 6-7
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
Commentaires sur ces manuels