NXC-IRS4 Send_Commands (Cont.)
Command | Description |
|
|
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. |
|
|
PON | Turn ON 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 OFF (such as if one turned it off manually at |
| the front panel), IR function 27 (if available) or IR function 9 is automatically generated in an attempt |
| to turn the device back ON. If three attempts fail, the IR port will continue executing commands in the |
| buffer and trying to turn the device On. |
| If there are no commands in the buffer, the IR port will continue trying to turn the device ON until a |
| 'POF' or 'POD' command is received. If the IR port fails to turn the device ON, 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. |
| Syntax: |
| SEND_COMMAND <DEV>,"'PON'" |
| Example: |
| SEND_COMMAND IR_1,"'PON'" |
| Sends power up IR commands 27 or 9 to the IR_1 port. |
|
|
18 | NetLinx Cardframe, Control Cards, and NetModules - Operation Reference Guide |