6100 BSC Programming Manual
Writing Applications that Use 6100 BSC
The response buffer format is:
Response := 65
Status := 0 if the request was successful, otherwise a code
for the error that occurred
Request ID := The same as in the request
Detail := A code containing more status information, for
example, if a control character arrived
instead of a message or block
Text In := 0 If no text arrived, otherwise the number of
bytes of the message or block
Text := The received message or block
NOTE
If a READ request completes with a retry error (status code
162, 172, 173, 175, or 177), do not repeat the READ request.
The line will be in CONTROL state and require end-to-end
recovery. (For instance, you might send an EOT and wait for
another bid.)
A status code of 162 can also mean that you used HALT READ
to cancel the request. See the discussion of HALT READ
earlier in this section.
The retry count has an impact on the number of retry errors.
Set a retry count that is high enough to accommodate the
equipment you're using; remember that you can change the
count online with the SETMODE request.
3-44