6100 MPS-B Programming Manual

INTRODUCTION TO 6100 MPS-B
Message Formats
The elements of the ENVOY format WRITEREAD buffer Text field are
defined below:
Text field = MCW sequence-header message
MCW = Message Control Word (2 bytes)
Byte 0 = 0
Byte 1 = 0
sequence-header = EOT station-id function-code ENQ
EOT (1 byte, optional)
function-code = Function code (1 byte)
station-index = station-index from
Poll/Select List (1 byte)
0 = Placeholder (1 byte)
ENQ (1 byte, optional--may terminate
an ADM-2 SEND function sequence-header)
message = SOH text ETX or,
STX text ETX
SOH = Start of text with heading (1 byte,
optional)
STX = Start of text if no heading
(1 byte)
text = Text string (2K bytes maximum)
ETX = End of text (1 byte)
1-26