![background image](http://html1.mh-extra.com/html/amx/netlinx-integrated-nxi/netlinx-integrated-nxi_operation-reference-manual_2937861020.webp)
Programming
16
NXI NetLinx Integrated Controller
IR / Serial Ports (8 - 15) Channels
IR/Serial Send_Commands
The following IR and IR/Serial Send_Commands generate control signals for external equipment.
IR / Serial Ports Channels
00001 - 00229
IR commands.
00229 - 00253
May be used for system call feedback.
00254
Power Fail. (Used with the 'PON' and 'POF' commands).
00255
Power status. (Shadows I/O Link channel status).
00256 - 65000
IR commands.
IR/Serial Send_Commands
CAROFF
Disables the carrier signal
until a CARON command is
received.
Syntax:
SEND_COMMAND <DEV>,'CAROFF'
Example:
SEND_COMMAND IR_1,'CAROFF'
Stops transmitting IR carrier signals to the IR_1 port.
CARON
Enables carrier signals
(default setting).
Syntax:
SEND_COMMAND <DEV>,'CARON'
Example:
SEND_COMMAND IR_1,'CARON'
Starts transmitting IR carrier signals to the IR_1 port.
CH
Sends IR pulses to select a
channel. All channels below
100 are transmitted as two
digits. If the IR code for
ENTER (#21) is loaded, an
Enter will follow the number.
If the channel is greater than
or equal to 100, the IR func-
tion 127 is generated for the
one hundred digit.
Syntax:
SEND_COMMAND <DEV>," 'CH',<Number>"
Variable:
Number = 0-199
Example:
SEND_COMMAND IR_1," 'CH',18"
The NXI 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 NXI performs steps 5 and 6.
• Transmits IR signals for Enter (IR code 21).
• Waits for the time set with the CTOF command elapses.
CP
Clears buffered IR com-
mands, and sends a single IR
pulse. You can set the Pulse
and Wait times with the
CTON and CTOF commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<Number>"
Variable:
Number = 1-252 and 256-65,000 (253-255 reserved)
Example:
SEND_COMMAND IR_1,"'CP',2"
Clears the active/buffered commands and pulses IR_1 port's channel 2.