Specifications
NetLinx Programming
90
NI & DVX Central Controllers - WebConsole & Programming Guide
IR/Serial SEND_COMMANDs (Cont.)
Command Description
GET BAUD Get the IR port’s current DATA mode communication parameters. The port sends the parameters to the
device that requested the information. Only valid if the port is in Data Mode (see SET MODE command).
The port responds with:
<port #> <baud>,<parity>,<data bits>,<stop bits>
Syntax:
SEND_COMMAND <DEV>,"'GET BAUD'"
Example:
SEND_COMMAND IR_1,"'GET BAUD'"
System response example:
PORT 9 IR,CARRIER,IO LINK 0
GET MODE Poll the IR/Serial port's configuration parameters and report the active mode settings to the device
requesting the information.
The port responds with: <port #> <mode>,<carrier>,<io link channel>.
Syntax:
SEND_COMMAND <DEV>,"'GET MODE'"
Example:
SEND_COMMAND IR_1,"'GET MODE"
The system could respond with:
PORT 4 IR,CARRIER,IO LINK 0
IROFF Halt and Clear all active or buffered IR commands being output on the
designated port.
Syntax:
SEND_COMMAND <DEV>,"'IROFF'"
Example:
SEND_COMMAND IR_1,"'IROFF"
Immediately halts and clears all IR output signals on the IR_1 port.
POD Disable previously active 'PON' (power on) or 'POF' (power off) command settings.
Channel 255 changes are enabled.
This command is used in conjunction with the I/O Link command.
Syntax:
SEND_COMMAND <DEV>,"'POD'"
Example:
SEND_COMMAND IR_1,"'POD"
Disables the 'PON' and 'POF' command settings on the IR_1 device.
POF Turn Off a device connected to an IR port based on the status of the corresponding I/O Link input.
If at any time the IR sensor input reads that the device is ON (such as if someone turned it on manually
at the front panel), IR function 28 (if available) or IR function 9 is automatically generated in an attempt to
turn the device back OFF. If three attempts fail, the IR port will continue executing commands in the
buffer.
If there are no commands in the buffer, the IR port will continue executing commands in the buffer and
trying to turn the device OFF until a 'PON' or 'POD' command is received. If the IR port fails to turn the
device OFF, a PUSH and RELEASE is made on channel 254 to indicate a power failure error. You can
only use the 'PON' and 'POF' commands when an IR device has a linked I/O channel. Channel 255
changes are disabled after receipt of this command.
You can only use the 'PON' and 'POF' commands when an IR device has a linked I/O channel.
Syntax:
SEND_COMMAND <DEV>,"'POF'"
Example:
SEND_COMMAND IR_1,"'POF'"
Sends power down IR commands 28 (if present) or 9 to the IR_1 device.










