6100 MPS-B Programming Manual
WRITING APPLICATIONS THAT USE 6100 MPS-B
Define Poll/Select List
The response buffer format is:
Function := 68
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
The structure of the poll/select list is:
Byte Field
Offset Description__________________________
0 polling-type
2p
3s
4 [0*(p+s)+4] ... Station 0 Poll and Select entries
. [1*(p+s)+4] ... Station 1 Poll and Select entries
. [2*(p+s)+4] ... Station 2 Poll and Select entries
. . .
. . .
. . .
n-1 [(t-1)*(p+s)+4] ... Station t-1 Poll and Select entries
polling-type An integer value: 0 = continuous polling.
x = noncontinuous polling
with x passes through
poll list.
p Poll entry size, in bytes (must be less than 127).
s Select entry size, in bytes (must be less than
127).
t Total number of stations, up to 255 (calculated
from p, s, and the Text Out field in the request
buffer). The valid range for Poll/Select entry
numbers is 0-254.
3-29