Programming
84 NI Series WebConsole & Programming Guide
IR / Serial Ports Channels
IR RX Port ChannelsIR/Serial Send_Commands
The following IR and IR/Serial Send_Commands generate control signals for external equipment. In
these examples: <DEV> = device.
RS-232/422/485 Send_String Escape Sequences (Cont.)
Command Description
27,20,1
Set the RTS hardware
handshake's output to
low/inactive (< 3V).
Syntax:
SEND_STRING <DEV>,"27,20,1"
Example:
SEND_STRING RS232_1,"27,20,1"
Sets the RTS hardware handshake's output to low on the RS232_1 device.
IR / Serial Ports Channels
CHANNELS: Description
00001 - 00229 IR commands.
00229 - 00253 May be used for system call feedback.
00254 Power Fail. (Used w/ 'PON' and 'POF' commands).
00255 Power status. (Shadows I/O Link channel status).
00256 - 65000 IR commands.
65000 - 65534 Future use.
The NI series of NetLinx Masters support Serial control via the IR/RX port when using
firmware version 300 or greater.
IR / Serial Ports Channels
00001 - 00255 PUSH and RELEASE channels for the received IR code.
IR/Serial Send_Commands
Command Description
CAROFF
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.
CARON
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.