NetLinx Programming of DXLink Transmitters and Receivers
76
Hardware Reference Manual – DXLink™ Twisted Pair Transmitters/Receiver
Serial SEND_COMMANDs
DXLink Module SERIAL SEND_COMMANDs are sent to Port 1
.
Serial SEND_COMMANDs (Transmitters and Receivers)
Command
Description
B9MOFF
Set the port’s communication
parameters for stop and data bits
according to the software settings on
the RS-232 port.
This command works in conjunction with the 'B9MON' command.
• Disables 9-bit in 232 mode.
• By default, this returns the Communication settings on the serial port to the last programmed
parameters.
Syntax:
B9MOFF
Example:
SEND_COMMAND SOMEDEVICE_1,"'B9MOFF'"
Sets the port settings on SOMEDEVICE to match the port’s configuration settings.
B9MON
Override and set the current
communication settings and
parameters on the RS-232 serial port
to 9 data bits with one stop bit.
This command works in conjunction with the 'B9MOFF' command.
• Enables 9-bit in 232 mode.
Syntax:
B9MON
Example:
SEND_COMMAND SOMEDEVICE_1,"'B9MON'"
Resets the SOMEDEVICE port’s communication parameters to nine data bits and one stop bit.
CHARD
Set the delay time between all
transmitted characters to the value
specified (in 100 microsecond
increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARD-<time>'"
Valid response:
time = 0 to 10000 (1 second)
Example:
SEND_COMMAND dvRXRS232,"'CHARD-10'"
Sets a 1-millisecond delay between all transmitted characters.
CHARDM
Set the delay time between all
transmitted characters to the value
specified (in 1 millisecond
increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARDM-<time>'"
Valid response:
time = 0 to 1000 (1 second)
Example:
SEND_COMMAND dvRXRS232,"'CHARDM-10'"
Sets a 10-millisecond delay between all transmitted characters.
ESCSEQOFF
Disables SEND_STRING escape
sequences
Disables SEND_STRING escape sequences (see the “SEND_STRING Escape Sequences” section on
page 81).
ESCSEQON
Enables SEND_STRING escape
sequences
Enables SEND_STRING escape sequences (see the “SEND_STRING Escape Sequences” section on
page 81).
GET BAUD
Get the RS-232 (serial) port’s current
communication parameters.
The port sends the parameters to the device that requested the information.
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND dvRXRS232,"'GET BAUD'"
The port responds with:
Port <port #>,<baud>,<parity>,<data>,<stop>
RXCLR
Clear all characters in the receive
buffer waiting to be sent to the
Master.
Syntax:
SEND_COMMAND <DEV>,"'RXCLR'"
Example:
SEND_COMMAND dvRXRS232,"'RXCLR'"
Clears all characters in the receive buffer waiting to be sent to the Master.
RXOFF
Disable the transmission of incoming
received characters to the Master
(default).
Syntax:
SEND_COMMAND <DEV>,"'RXOFF'"
Example:
SEND_COMMAND dvRXRS232,"'RXOFF'"
Disables the transmission of incoming received characters to the Master.