6100 BSC Programming Manual
Writing Applications that Use 6100 BSC
The request buffer format is:
Function := 66
Modifier := Doesn't matter
Request ID := A unique value from 1 to 32767, application-
dependent
Text Out := The length, in bytes, of the message or block
(no greater than 4096)
Text In := The maximum length, in bytes, of the expected
reply (no greater than 4096)
Text := The message or block to be sent (see Section 1
for formats). Do not include the ENQ to make
a line bid; BSC sends it automatically.
The response buffer format is:
Response := 66
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
Text In := 0 if an error occurred or if the remote station
sent an acknowledgement, otherwise the number
of bytes in the received message or block
Text := The received message or block
3-57