UDM-RX02N NetLinx Programming
54
UDM-0808-SIG, UDM-RX02N and UDM-ABB-8-SIG Operation /Reference Guide
UDM-RX02N IR SEND COMMANDs (Cont.)
"'SP'"
Generate a single
IR pulse.
You can use the 'CTON' to set pulse lengths and the 'CTOF' for time Off between pulses.
Syntax:
SEND_COMMAND <DEV>,"'SP',<code>"
Variables:
• code = IR code value 1 - 252 (253-255 reserved).
Example:
SEND_COMMAND dvRXIR,"'SP',25"
Pulses IR code 25 on IR port on RX
"'XCH'"
Transmit the
selected channel
IR codes in the for-
mat/pattern set by
the 'XCHM' Send
Command.
Syntax:
SEND_COMMAND <DEV>,"'XCH <channel>'"
Variables:
• channel = 0 - 999.
Example:
For detailed usage examples, refer to the 'XCHM' command (below).
"'XCHM'"
Changes the IR
output pattern for
the 'XCH' send
command.
Syntax:
SEND_COMMAND <DEV>,"'XCHM-<extended channel mode>'"
Variables:
• extended channel mode = 0 - 4.
Example:
SEND_COMMAND dvRXIR,"'XCHM 3'"
Sets the IR device's extended channel command to mode 3.
Mode 0 Example (default): [x][x]<x><enter>
SEND_COMMAND dvRXIR,"'XCH 3'" -
Transmits the IR code as 3-enter.
SEND_COMMAND dvRXIR,"'XCH 34'"
Transmits the IR code as 3-4-enter.
SEND_COMMAND dvRXIR,"'XCH 343'"
Transmits the IR code as 3-4-3-enter.
Mode 1 Example: <x><x><x><enter>
SEND_COMMAND dvRXIR,"'XCH 3'"
Transmits the IR code as 0-0-3-enter.
SEND_COMMAND dvRXIR,"'XCH 34'"
Transmits the IR code as 0-3-4-enter.
SEND_COMMAND dvRXIR,"'XCH 343'"
Transmits the IR code as 3-4-3-enter.
Mode 2 Example: <x><x><x>
SEND_COMMAND dvRXIR,"'XCH 3'"
Transmits the IR code as 0-0-3.
SEND_COMMAND dvRXIR,"'XCH 34'"
Transmits the IR code as 0-3-4.
SEND_COMMAND dvRXIR,"'XCH 343'"
Transmits the IR code as 3-4-3.
Mode 3 Example: [[100][100]....]<x><x>
SEND_COMMAND dvRXIR,"'XCH 3'"
Transmits the IR code as 0-3.
SEND_COMMAND dvRXIR,"'XCH 34'"
Transmits the IR code as 3-4.
SEND_COMMAND dvRXIR,"'XCH 343'"
Transmits the IR code as 100-100-100-4-3.
Mode 4 Example:
• Mode 4 sends the same sequences as the 'CH' command.
• Only use Mode 4 with channels 0 - 199.