Specifications
NetLinx Send Commands
45
ICSLan Device Control Boxes
NetLinx Send Commands (Cont.)
Command Description EXB Modules
RXCLR Clear all characters in the receive buffer waiting to be sent to the
Master.
Syntax:
RXCLR
Example:
SEND_COMMAND RS232_1,"'RXCLR'"
Clears all characters in the receive buffer waiting to be sent to the
Master.
• EXB-COM2
• EXB-MP1
RXOFF Disable the transmission of incoming received characters to the
Master (default).
Syntax:
RXOFF
Example:
SEND_COMMAND RS232_1,"'RXOFF'"
Disable the transmission of incoming received characters to the
Master (default).
• EXB-COM2
• EXB-MP1
RXON Start transmitting received characters to the Master.
Enables sending incoming received characters to the Master.
This command is automatically sent by the Master when a
'CREATE_BUFFER' program instruction is executed.
Syntax:
RXON
Example:
SEND_COMMAND RS232_1,"'RXON'"
Start the RS232_1 device’s transfer of received characters to the
Master.
• EXB-COM2
• EXB-MP1
SET BAUD Set the COM port's communication parameters.
Note: This value is not saved in Non-Volatile memory, and is reset to
default (9600,8,N,1) at power-up.
Syntax:
SET BAUD <baud>,<parity>,<data>,<stop> [485
<Enable|Disable>]
Variables:
• Baud: 19200, 9600, 4800, 2400, 1200, 600, 300, 150.
• Parity: N (none), O (odd), E (even), M (mark), S (space)
• Data: 7 or 8 data bits
• Stop: 1 or 2 stop bits
• 485 Disable (EXB-COM2 Port 1 only): Disables RS-485 mode and
enables RS-232/422
• 485 Enable (EXB-COM2 Port 1 only): Enables RS-485 mode and
disables RS-234/422
Note: The only valid 9 bit combination is (baud),N,9,1.
Example:
SEND_COMMAND DEVICE_1,"'SET BAUD 19200,N,8,1, 485
ENABLE'"
Sets the DEVICE_1 port's communication parameters to 19,200
baud, no parity, 8 data bits, 1 stop bit, and enables RS-485 mode.
Note: The maximum baud rate for ports using DATA mode is 19200.
Also, DATA mode works best when using a short cable length (< 10
feet).
• EXB-COM2
• EXB-IRS4
• EXB-MP1