IR/Serial Ports Channels
IR / Serial Ports Channels
CHANNELS:
00001 - 00229
00229 - 00253
00254
00255
00256 - 65000
65000 - 65534
IRRX Port Channels
IRRX Ports Channels
00001 - 00255
IR/Serial SEND_COMMANDs
The following IR and IR/Serial Send_Commands generate control signals for external equipment. In these examples: <DEV> =
device.
IR/Serial SEND_COMMANDs
Command
CAROFF
CARON
CH
CLEAR FAULT
NX-Series Controllers - WebConsole & Programming Guide
Description
IR commands.
May be used for system call feedback.
Power Fail. (Used w/ 'PON' and 'POF' commands).
Power status. (Shadows I/O Link channel status).
IR commands.
Future use.
PUSH and RELEASE channels for the received IR code.
Description
Disable the IR 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.
Enable the IR carrier signals (default).
Syntax:
SEND_COMMAND <DEV>,"'CARON'"
Example:
SEND_COMMAND IR_1,"'CARON'"
Starts transmitting IR carrier signals to the IR_1 port.
Send IR pulses for the selected channel. 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.
• Uses 'CTON' and 'CTOF' times for pulse times.
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
channel number = 0 - 199.
Example:
SEND_COMMAND IR_1,"'CH',18"
This device 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
Controller performs the following steps.
1) Transmits IR signals for Enter (IR code 21).
2) Waits for the time set with the CTOF command elapses.
Forces a reset back to normal status.
Syntax:
SEND_COMMAND <DEV>, "'CLEAR FAULT'"
Example:
SEND_COMMAND IR_1,"'CLEAR FAULT'"
NetLinx Programming
93