![background image](http://html.mh-extra.com/html/amx/udm-rx02n/udm-rx02n_operation-reference-manual_2938757063.webp)
UDM-RX02N NetLinx Programming
53
UDM-0808-SIG, UDM-RX02N and UDM-ABB-8-SIG Operation /Reference Guide
UDM-RX02N IR SEND COMMANDs (Cont.)
"'CH'"
Send IR pulses for
the selected
channel.
Uses 'CTON' and
'CTOF' times for
pulse times.
All channels below 100 are transmitted as two digits.
If the IR code for ENTER (function #21) is loaded, an Enter will follow the number.
If the channel is greater than or equal to (>=) 100, then IR function 127 or 20 (whichever
exists) is generated for the one hundred digit.
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
• channel number = 0 - 199 channels
Example:
SEND_COMMAND dvRXIR,"'CH',18"
The IR port on the UDM Rx performs the following:
• Transmits IR signals for 1 (IR code 11).
• The transmit time is set with the CTON command.
• Waits until the time set with the CTOF command elapses.
• Transmits IR signals for 8 (IR code 18).
• Waits for the time set with the CTOF command elapses.
If the IR code for Enter (IR code 21) is programmed, the IRS4 performs the following
steps.
• Transmits IR signals for Enter (IR code 21).
• Waits for the time set with the CTOF command elapses.
"'CP'"
Halt and Clear all
active or buffered
IR commands, and
then send a single
IR pulse.
Pulse and Wait times can be set with the 'CTON' and 'CTOF' commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<code>"
Variable:
• code = IR port's channel value 0 - 252 (253 - 255 reserved).
Example:
SEND_COMMAND dvRXIR,"'CP',2"
Clears the active/buffered commands and pulses IR port's channel 2.
"'CTOF'"
Set the duration of
the Off time (no
signal) between IR
pulses for channel
and IR function
transmissions.
This command sets the delay time between pulses generated by the 'CH' or 'XCH' send
commands in tenths of seconds.
Off time settings are stored in non-volatile memory.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<time>"
Variables:
• time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND dvRXIR,"'CTOF',10"
Sets the off time between each IR pulse to 1 second.
"'CTON'"
Set the total time
of IR pulses trans-
mitted and is
stored in non-
volatile memory.
This command sets the pulse length for each pulse generated by the 'CH' or 'XCH' send
commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'CTON',<time>"
Variables:
• time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND dvRXIR,"'CTON',20"
Sets the IR pulse duration to 2 seconds.
"'IROFF'"
Halt and Clear all
active or buffered
IR commands.
Halt and Clear all active or buffered IR commands being output on the designated port.
Syntax:
SEND_COMMAND <DEV>,"'IROFF'"
Example:
SEND_COMMAND dvRXIR,"'IROFF'"
Immediately halts and clears all IR output signals on the IR port.