Specifications
NetLinx Programming
82
NX-Series 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 11,9600,N,8,1
GET FAULT Check the activation status of fault detection on the port.
Syntax:
SEND_COMMAND <DEV>, "’GET FAULT’"
Example:
SEND_COMMAND IR_1,"’GET FAULT’"
Responds with DISABLED, NONE, SHORT, or NO DEVICE.
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
GET STATUS Check the fault detection status of the port.
Syntax:
SEND_COMMAND <DEV>, "’GET STATUS’"
Example:
SEND_COMMAND IR_1,"’GET STATUS’"
Responds with STATUS: NORMAL or STATUS: FAULT.
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.