6100 BSC Programming Manual

Writing Applications that Use 6100 BSC
WRITE Request and Response
The WRITE request has several major functions, depending on the
line state:
• If the state is DISCONNECTED, the WRITE request implicitly
connects the station. The same request can make a line bid
and send the first message or block.
• If the state is CONTROL, the WRITE request makes a line bid
and sends the first message or block.
• If the state is WRITE, the WRITE request sends the next
message or block.
The WRITE request completes when the transmission has been
acknowledged. WRITE cannot be used to accept a conversational
reply.
Each use of WRITE has been discussed and illustrated in this
section.
The request buffer format is:
Function := 64
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 := 0
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.
3-54