6100 MPS-B Programming Manual

WRITING APPLICATIONS THAT USE 6100 MPS-B
WRITE Examples
WRITE Example 1
Transmit a message without an error to a specific station using
SELECT:
Application Process MPS-B Station
Line State = CONTROL
CALL WRITEREAD (...)
|
| EOT a1 a1 q ENQ --->
|
| <--- ACK
|
| STX text ETX --->
|
| <--- ACK
|
(WRITEREAD completes)
Line State = CONTROL
Status = 0 (operation completed successfully)
Text In = 0
After receiving a message from the station using SELECT, transmit
a message to the station. MPS-B must acknowledge the received
message prior to the WRITE request:
Application Process MPS-B Station
Line State = READ
CALL WRITEREAD (...);
|
| ACK --->
|
| <--- EOT
|
| EOT a1 a1 q ENQ --->
|
| <--- ACK
|.
|.
|.
|.
3-60