User Guide
Programming
16
NXI NetLinx Integrated Controller
RS-232/422/485 Send_Commands (Cont.)
HSON
Enables RTS (ready-to-send)
and CTS (clear-to-send)
hardware handshaking.
Syntax:
SEND_COMMAND <DEV>,'HSON'
Example:
SEND_COMMAND RS232_1,'HSON'
Enables hardware handshaking on the RS232_1 device.
RXCLR
Clears all characters in the
receive buffer waiting to be
sent to the Master Card.
Syntax:
SEND_COMMAND <DEV>,'RXCLR'
Example:
SEND_COMMAND RS232_1,'RXCLR'
Clears all characters in the RS232_1 device's receive buffer waiting to be sent
to the Master Card.
RXOFF
Stops transmitting received
characters to the Master Card
(default).
Syntax:
SEND_COMMAND <DEV>,'RXOFF'
Example:
SEND_COMMAND RS232_1,'RXOFF'
Stops the RS232_1 device from transmitting received characters to the Master
Card.
RXON
Starts transmitting received
characters to the Master
Card.
This command is sent automatically when issuing a CREATE_BUFFER
Send_Command.
Syntax:
SEND_COMMAND <DEV>,'RXON'
Example:
SEND_COMMAND RS232_1,'RXON'
Sets the RS232_1 device to transmit received characters to the Master Card.
TXCLR
Stops and clears all charac-
ters waiting in the transmit
buffer.
Syntax:
SEND_COMMAND <DEV>,'TXCLR'
Example:
SEND_COMMAND RS232_1,'TXCLR'
Clears and stops all characters waiting in the RS232_1 device's transmit buffer.
XOFF
Disables software handshak-
ing (default).
Syntax:
SEND_COMMAND <DEV>,'XOFF'
Example:
SEND_COMMAND RS232_1,'XOFF'
Disables software handshaking on the RS232_1 device.
XON
Enables software handshak-
ing.
Syntax:
SEND_COMMAND <DEV>,'XON'
Example:
SEND_COMMAND RS232_1,'XON'
Enables software handshaking on the RS232_1 device.