UDM-RX02N NetLinx Programming
55
UDM-0808-SIG, UDM-RX02N and UDM-ABB-8-SIG Operation /Reference Guide
Serial SEND_STRING
Use the SEND_STRING keyword to send a string to a controlled device, based on a specified NetLinx device/
port:
Syntax:
SEND_STRING DEV, '<string>'
-or-
SEND_STRING DEV[ ], '<string>'
Serial SEND_COMMANDs
The following Serial SEND_COMMANDs are used to configure the Serial Port.
Serial (RS232) SEND_COMMANDS and are sent to Port 2 on the UDM-RX02N:
UDM-RX02N Serial SEND COMMANDs
"'CHARD'"
Set the delay time between
all transmitted characters to
the value specified (in 100
Microsecond increments).
Syntax:
SEND_COMMAND <DEV>,"'CHARD-<time>'"
Variables:
• time = 0 - 255. Measured in 100 microsecond increments.
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>'"
Variables:
• time = 0 - 255. Measured in 1 millisecond increments.
Example:
SEND_COMMAND dvRXRS232,"'CHARDM-10'"
Sets a 10-millisecond delay between all transmitted characters.
"'GET BAUD'"
Get the Rx 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 #>,<baud>,<parity>,<data>,<stop>
(Example):
Port 1,38400,N,8,1
"'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 Rx serial port 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'"
Stops the Rx serial device from transmitting received characters to the Master.