![RXOFF](/images/new-backgrounds/26662/26662193x1.webp)
NetLinx Programming
Command | Description | |
|
| |
RXOFF | Syntax: | |
Disable the transmission of | SEND_COMMAND <DEV>,"'RXOFF'" | |
incoming received | Example: | |
characters to the Master | ||
SEND_COMMAND RS232_1,"'RXOFF'" | ||
(default). | ||
| Stops the RS232_1 device from transmitting received characters to the Master. | |
|
| |
RXON | Enables sending incoming received characters to the Master. This command is | |
Start transmitting received | automatically sent by the Master when a 'CREATE_BUFFER' program | |
instruction is executed. | ||
characters to the | ||
| ||
Master (default). | Syntax: | |
| SEND_COMMAND <DEV>,"'RXON'" | |
| Example: | |
| SEND_COMMAND RS232_1,"'RXON'" | |
| Sets the RS232_1 device to transmit received characters to the Master. | |
|
| |
SET BAUD | Syntax: | |
Set the | SEND_COMMAND <DEV>,"'SET BAUD | |
port's communication | <baud>,<parity>,<data>,<stop> [485 <Enable Disable>]'" | |
parameters. | Variables: | |
| ||
| baud = baud rates are: 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 and 2 stop bits. | |
| 485 Disable = Disables | |
| 485 Enable = Enables | |
| Note: The only valid 9 bit combination is (baud),N,9,1. | |
| Example: | |
| SEND_COMMAND RS232_1,"'SET BAUD 115200,N,8,1 485 ENABLE'" | |
| Sets the RS232_1 port's communication parameters to 115,200 baud, no | |
| parity, 8 data bits, 1 stop bit, and enables | |
|
| |
TSET BAUD | TSET BAUD works the same as SET BAUD, except that the changes are not | |
Temporarily set the | permanent, and the previous values will be restored if the power is cycled on | |
the device. | ||
422/485 port's | ||
Syntax: | ||
communication parameters | ||
for a device. | SEND_COMMAND <DEV>,"'TSET BAUD | |
| ||
| <baud>,<parity>,<data>,<stop> [485 <Enable Disable>]'" | |
| Variables: | |
| baud = baud rates are: 115200, 57600, 38400, 19200, 9600, 4800, 2400, | |
| 1200, 600, 300. | |
| parity = N (none), O (odd), E (even), M (mark), S (space). | |
| data = 7, 8, or 9 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 RS232_1,"'TSET BAUD 115200,N,8,1 485 | |
| ENABLE'" | |
| Sets the RS232_1 port's communication parameters to 115,200 baud, no | |
| parity, 8 data bits, 1 stop bit, and enables | |
|
|
91 | |
|
|