![](/images/new-backgrounds/1306409/30640927x1.webp)
NXC-COM2 Send_Commands (Cont.)
Command | Description |
|
|
HSON | Enable RTS |
| Syntax: |
| SEND_COMMAND <DEV>,"'HSON'" |
| Example: |
| SEND_COMMAND RS232_1,"'HSON'" |
| Enables hardware handshaking on the RS232_1 device. |
|
|
RXCLR | Clear all characters in the receive buffer waiting to be sent to the Master. |
| Syntax: |
| SEND_COMMAND <DEV>,"'RXCLR'" |
| Example: |
| SEND_COMMAND RS232_1,"'RXCLR'" |
| Clears all characters in the receive buffer waiting to be sent to the Master. |
|
|
RXOFF | Disable the transmission of incoming received characters to the Master (default). |
| Syntax: |
| SEND_COMMAND <DEV>,"'RXOFF'" |
| Example: |
| SEND_COMMAND RS232_1,"'RXOFF'" |
| Disable the transmission of incoming received characters to the Master (default). |
|
|
RXON | 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: |
| SEND_COMMAND <DEV>,"'RXON'" |
| Example: |
| SEND_COMMAND RS232_1,"'RXON'" |
| Start transmitting received characters to the Master (default). |
|
|
SET BAUD | Set the |
| Syntax: |
| SEND_COMMAND <DEV>,"'SET BAUD <baud>,<parity>,<data>,<stop> [485 <EnableDisable>]'" |
| Variables: |
| Baud: baud rates are: 230400, 115200, 76800, 57600, 38400, 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: Disables |
| 485 Enable: Enables |
| Note: The only valid 9 bit combination is (baud),N,9,1. |
| Example: |
| SEND_COMMAND SOMEDEVICE_1,"'SET BAUD 115200,N,8,1, 485 ENABLE'" |
| Sets the SOMEDEVICE port's communication parameters to 115,200 baud, no parity, 8 data bits, 1 stop |
| bit, and enables |
|
|
8 | NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide |