User Guide

Programming
22
NXI NetLinx Integrated Controller
IR/Serial Send_Commands (Cont.)
XCHM (Cont.) 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:
Mode 4 sends the same sequences as the CH command. Only use Mode 4
with channels 0-199.
XCH
Transmits IR code in the for-
mat set with the XCHM mode
command.
Syntax:
SEND_COMMAND <DEV>,'XCH <Channel>'
Variable:
Channel = 0-999
ZAP HIGH
Deletes all IR data stored in
the NXI ports 12-15.
Syntax:
SEND_COMMAND <DEV>, 'ZAP HIGH'
Example:
SEND_COMMAND IR_4, 'ZAP HIGH'
Deletes IR commands in ports 12-15 of the IR_4 device.
ZAP LOW
Deletes all IR data stored in
the NXI ports 8-11.
Syntax:
SEND_COMMAND <DEV>, 'ZAP LOW'
Example:
SEND_COMMAND IR_1, 'ZAP LOW'
Deletes IR commands in ports 8-11 of the IR_1 device.