NetLinx Programming
IR/Serial Send_Commands (Cont.)
Command | Description | |
|
| |
IROFF | Syntax: | |
Halt and Clear all active or | SEND_COMMAND <DEV>,"'IROFF'" | |
buffered IR commands being | Example: | |
output on the designated | SEND_COMMAND IR_1,"'IROFF" | |
port. | ||
| Immediately halts and clears all IR output signals on the IR_1 port. | |
|
| |
POD | Channel 255 changes are enabled. This command is used in conjunction with | |
Disable previously active | the I/O Link command. | |
Syntax: | ||
'PON' (power on) or 'POF' | ||
(power off) command | SEND_COMMAND <DEV>,"'POD'" | |
settings. | ||
Example: | ||
| ||
| SEND_COMMAND IR_1,"'POD" | |
| Disables the 'PON' and 'POF' command settings on the IR_1 device. | |
|
| |
POF | If at any time the IR sensor input reads that the device is ON (such as if | |
Turn Off a device connected | 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 | ||
to an IR port based on the | ||
OFF. If three attempts fail, the IR port will continue executing commands in the | ||
status of the corresponding | ||
buffer. | ||
I/O Link input. | ||
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 | If at any time the IR sensor input reads that the device is OFF (such as if one | |
Turn On a device connected | 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. | ||
to an IR port based on the | ||
If three attempts fail, the IR port will continue executing commands in the buffer | ||
status of the corresponding | ||
and trying to turn the device On. | ||
I/O Link input. | ||
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. | |
|
|
96 |