User's Manual

57
X X X X X X X X
Status Bit Name
1 0
0 Connection Connected Disconnected
1 Reception Disabled Enabled
2 Output message
Disabled Enabled
3 Receive buffer Data exist Data empty
4 Transmit buffer Data exist Data empty
5 Reserved - -
6 Reserved - -
7 Reserved - -
Figure 6–2: Modem Status Bit Description
Example
>
@
STS
CR/LF
: read the current status
<00001010
CR/LF
: Received data exist, Output message enabled,
Reseption disabled ,Disconnected.
TBN Transmit Binary Data
Syntax
TBN[destination address][message byte length]{Local Station Address}[message]
Destination address : address of the transmission (000 to A23)
Message byte length : message length (001 to 255)
Local Station Address : local station address for 485 mode (000 to A22).
Message byte : arbitrary binary data (255 or less)
Response
P0 : data transmission succeeded
P1 : command accepted, data being transmitted
N0 : command error (Except 485 mode)
N1 : data transmission failed -- no response from destination station
N2 : data transmission failed -- destination station is in the reception disabled state
N3 : data transmission failed -- destination station cannot receive because its receive
buffer is full
Function
Transmits binary data in the packet transmission mode.
Any message length between 1 to 255 bytes is accepted.
The modem counts the number of message characters and transmits the message.
For broadcasting messages to multiple modems, set the destination address to
255. In this case, the modem retransmits the message the number of times of the
Retransmission count plus 1, and then it will return “P0”.
In case the global addressing command is issued to plural modems connected by
RS485 multi-dropping interface, the transmission stops when any modem outputs
“P0”, “N2” or “N3” response to the RS485 line.
Example
>TBN002005HELLO
CR/LF
: transmit “HELLO” from station 001 to station 002
<P1
CR/LF
: data being transmitted
<P0
CR/LF
: data transmission succeeded.
>@TBN003004MAIL
CR/LF
: retransmit “MAIL” from station 001 to station 003