NetLinx Programming – DXLink Fiber TXs/RXs
85
Instruction Manual – DXLink™ Fiber Transmitters and Receivers, Duplex
SEND_STRING Escape Sequences
The DXLink Fiber units 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 the strings will be processed normally.
These commands are sent to Port 1.
Note:
For a listing of all supported Telnet commands, see page 95.
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 responses:
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 80).
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 80).
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 responses:
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.