Page 2
NXC-COM2 Send Commands (Cont.) _
RXON Start transmitting received characters to the Master (default).This command is sent automatically when a CREATE BUFFER Send Command is executed. _ _ Syntax: SEND COMMAND <DEV>,"'RXON'" _ Example: SEND COMMAND RS232 1,'RXON'" _ _ Stops the RS232 1 device from transmitting received _ characters to the Master.
SET BAUD Set the RS-232/422/485 port's communication parameters.Syntax: SEND COMMAND <DEV>,"'SET BAUD _ <baud>,<parity>,<data>,<stop> [485 <Enable | Disable>]'" • Baud: 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 Bits: 7 or 8 data bits • Stop Bits: 1 and 2 stop bits The only valid 9 bit combination is (baud),N,9,1. • 485 Enable: Enables RS-485 mode and disables RS-232/422 • 485 Disable: Disables RS-485 mode and enables RS-232/422 Examples: 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 RS-485 mode.
TSET BAUD Temporarily set the RS-232/422/485 port's communication parameters for a device.Syntax: SEND COMMAND <DEV>,"'TSET BAUD _ <baud>,<parity>,<data>,<stop> [485 <Enable | Disable>]'" • Baud: 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 Bits: 7 or 8 data bits • Stop Bits: 1 and 2 stop bits The only valid 9 bit combination is (baud),N,9,1. • 485 Enable: Enables RS-485 mode and disables RS-232/422 • 485 Disable: Disables RS-485 mode and enables RS-232/422 Examples: SEND COMMAND RS232 1,"'SET BAUD _ _ 9600,N,8,1 485 DISABLE'" SEND COMMAND RS232 4,"'SET BAUD _ _ 115200,N,8,1 485 ENABLE'" TSET BAUD works the same as SET BAUD, except that the changes are not permanent, and the previous values will be restored if the power is cycled on the device.
TXCLR Stop and clear all characters waiting in the transmit out buffer and stops transmission.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 Disable software handshaking (default).Syntax: SEND COMMAND <DEV>,"'XOFF'" _ Example: SEND COMMAND RS232 1,"'XOFF'" _ _ Disables software handshaking on the RS232 1 device. _
XON Enable software handshaking.Syntax: SEND COMMAND <DEV>,"'XON'" _ Example: SEND COMMAND RS232 1,"'XON'" _ _ Enables software handshaking on the RS232 1 device. _
NXC-COM2 Send String Escape Sequences _
This card has some special SEND STRING escape sequences: _ If any of the 3 character combinations below are found anywhere within a SEND STRING _ program instruction, they will be treated as a command and not the literal characters:
27,17,<time> Send a break character for a specified duration to a specific device.Syntax: SEND STRING <DEV>,"27,17,<time>" _ time: 1 - 255. Measured in 100 microsecond increments. Example: SEND STRING RS232 1,"27,17,10" _ _ Sends a break character of 1 millisecond to the RS232 1 _ device.
27,18,0 Clear the ninth data bit by setting it to 0 on all character transmissions. This command is used in conjunction with the B9MON Send Command. _Syntax: SEND STRING <DEV>,"27,18,0" _ Example: SEND STRING RS232 1,"27,18,0" _ _ Sets the RS232 1 device's ninth data bit to 0 on all character _ transmissions.
27,18,1 Set the ninth data bit to 1 for all subsequent characters to be transmitted. This command is used in conjunction with the B9MON Send Command. _Syntax: SEND STRING <DEV>,"27,18,1" _ Example: SEND STRING RS232 1,"27,18,1" _ _ Sets the RS232 1 device's ninth data bit to 1 on all character _ transmissions.
27,19,<time> Insert a time delay before transmitting the next character.Syntax: SEND STRING <DEV>,"27,19,<time>" _ time: 1 - 255. Measured in 1 millisecond increments. Example: SEND STRING RS232 1,"27,19,10" _ _ Inserts a 10 millisecond delay before transmitting characters to the RS232 1 device. _
27,20,0 Set the RTS hardware handshake's output to high (> 3V).Syntax: SEND STRING <DEV>,"27,20,0" _ Example: SEND STRING RS232 1,"27,20,0" _ _ Sets the RTS hardware handshake's output to high on the RS232 1 device. _
27,20,1 Assert sets the RTS hardware handshake's output to low (< 3V).Syntax: SEND STRING <DEV>,"27,20,1" _ Example: SEND STRING RS232 1,"27,20,1" _ _ Sets the RTS hardware handshake's output to low on the RS232 1 device. _
For full warranty information, refer to the AMX Instruction Manual(s) associated with your Product(s).
93-2022 REV: F
7/08 ©2008 AMX. All rights reserved. AMX and the AMX logo are registered trademarks of AMX.
- AMX reserves the right to alter specifications without notice at any time. 3000 RESEARCH DRIVE, RICHARDSON, TX 75082
- 800.222.0193
- fax 469.624.7153
- technical support 800.932.6993
- <a href="http://www.amx.com" rel="nofollow noopener" target="_blank">www.amx.com</a>