NetLinx Programming of DXLink Transmitters and Receivers
75
Hardware Reference Manual – DXLink™ Twisted Pair Transmitters/Receiver
XCH
Transmit IR codes.
Syntax:
SEND_COMMAND <DEV>,"'XCH <channel>'"
Valid response:
channel = 0 to 999.
NOTE:
For detailed usage examples, refer to the 'XCHM' comman
d.
XCHM
Changes the IR output pattern for
the 'XCH' Send Command.
Syntax:
SEND_COMMAND <DEV>,"'XCHM <extended channel mode>'"
Valid response:
extended channel mode = 0 to 4.
Example:
SEND_COMMAND IR_1,"'XCHM 3'"
Sets the IR device’s extended channel command to mode 3.
Mode 0 Example (default): [x][x]<x><enter>
SEND_COMMAND IR_1,"'XCH 3'"
Transmits the IR code as 3-enter.
SEND_COMMAND IR_1,"'XCH 34'"
Transmits the IR code as 3-4-enter.
SEND_COMMAND IR_1,"'XCH 343'"
Transmits the IR code as 3-4-3-enter.
Mode 1 Example: <x><x><x><enter>
SEND_COMMAND IR_1,"'XCH 3'"
Transmits the IR code as 0-0-3-enter.
SEND_COMMAND IR_1,"'XCH 34'"
Transmits the IR code as 0-3-4-enter.
SEND_COMMAND IR_1,"'XCH 343'"
Transmits the IR code as 3-4-3-enter.
Mode 2 Example: <x><x><x>
SEND_COMMAND IR_1,"'XCH 3'"
Transmits the IR code as 0-0-3.
SEND_COMMAND IR_1,"'XCH 34'"
Transmits the IR code as 0-3-4.
SEND_COMMAND IR_1,"'XCH 343'"
Transmits the IR code as 3-4-3.
Mode 3 Example: [[100][100]....]<x><x>
SEND_COMMAND IR_1,"'XCH 3'"
Transmits the IR code as 0-3.
SEND_COMMAND IR_1,"'XCH 34'"
Transmits the IR code as 3-4.
SEND_COMMAND IR_1,"'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 to 199.
IR SEND_COMMANDs (Transmitters and Receivers)