6100 MPS-B Programming Manual

WRITING APPLICATIONS THAT USE 6100 MPS-B
WRITE Request
WRITE Request
The WRITE request permits your application to select a station or
group of stations, and transmit a message to the station or group
of stations.
The request buffer format is:
Function := 66
Modifier := 0 if select station using station index
1 if select station using station index, and
enable station
2 if free format select sequence
3 if ENVOY format select sequence
Request ID := A unique value from 1 to 32767,
application-dependent
Text Out := Length of text, in bytes (maximum value is 2048)
Text In := 0
Text := Appropriately formatted data (see "Data Formats"
in Section 1)
The response buffer format is:
Function := 66
Status := 0 if the operation completed successfully, or
a code greater than zero if an error occurred
Request ID := The same as in the request
Text Out := 0
Text In := 0, or
2 if status detail code is present in Text field
Text := Null, or
Byte 0 = status detail code; Byte 1 = 0
3-55