6100 MPS-B Programming Manual
WRITING APPLICATIONS THAT USE 6100 MPS-B
READ Examples
Examples
READ Example 1 (Continued on next page)
Start polling all "enabled" stations until a message is received:
Application Process MPS-B Station
Line State = CONTROL
CALL WRITEREAD (...);
|
| EOT a1 a1 p ENQ --->
|
| <--- EOT
|
| EOT a2 a2 p ENQ --->
|
| <--- EOT
|
|.
|.
|.
|
| EOT an an p ENQ --->
|
| <--- message
|
(WRITEREAD completes)
Line State = READ
Status = 0 (Operation completed successfully)
Text In = Message Length + 2 (for MCW)
MCW = Station Index
3-56