Nxc-com2 send_string escape sequences – AMX NetLinx NXM Series User Manual
Page 18

NXC-COM2 Dual COM Port Control Card
12
NetLinx Cardframe, Control Cards, and NetModules
NXC-COM2 Send_String Escape Sequences
NXC-COM2 Send_Commands (Cont.)
Command
Description
XON
Enable software
handshaking.
Syntax:
SEND_COMMAND
Example:
SEND_COMMAND RS232_1,"'XON'"
Enables software handshaking on the RS232_1 device.
NXC-COM2 Send_String Escape Sequences
Command
Description
27,17,Send a break character for
a specified duration to a
specific device.
Syntax:
SEND_STRING
Variable:
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.
Used in conjunction with the 'B9MON' command.
Syntax:
SEND_STRING
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.
Used in conjunction with the 'B9MON' command.
Syntax:
SEND_STRING
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,Insert a time delay before
transmitting the next
character.
Syntax:
SEND_STRING
Variable:
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
Example:
SEND_STRING RS232_1,"27,20,0"
Sets the RTS hardware handshake's output to high on the RS232_1
device.