NetLinx Programming of DXLink Transmitters and Receivers
81
Hardware Reference Manual – DXLink™ Twisted Pair Transmitters/Receiver
SEND_STRING Escape Sequences
The DXLink Modules support several special SEND_STRING escape sequences. If any of the character combinations listed below are
found anywhere within a SEND_STRING program instruction, they will be treated as a command and not the literal characters.
Use the
ESCSEQON
and
ESCSEQOFF
NetLinx SEND_COMMANDS to control whether these are active or not. The
ESCSEQON
command
must
precede the Escape Sequences, otherwise strings will be processed normally. These commands are sent to Port 1.
SEND_STRING Escape Sequences
Command
Description
27, 17
Send a break character for a
specified duration to a specific
device.
Syntax:
27,17,<time>
Valid response:
time = 1 to 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 (see page 76).
Syntax:
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.
Used in conjunction with the 'B9MON' command (page 76).
Syntax:
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
Insert a time delay before
transmitting the next character.
Syntax:
27,19,<time>
Valid response:
time = 1 to 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.