Specifications

NetLinx Programming
83
NX-Series Controllers - WebConsole & Programming Guide
IR/Serial SEND_COMMANDs (Cont.)
Command Description
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.
PTOF Set the time duration between power pulses in .10-second increments. This time increment is stored in
permanent memory. This command also sets the delay between pulses generated by the 'PON' or 'POF'
send commands in tenths of seconds. It also sets the delay required after a power ON command before
a new IR function can be generated. This gives the device time to power up and get ready for future IR
commands.
Syntax:
SEND_COMMAND <DEV>,"'PTOF',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 15 (1.5 seconds).
Example:
SEND_COMMAND IR_1,"'PTOF',15"
Sets the time between power pulses to 1.5 seconds for the IR_1 device.
PTON Set the time duration of the power pulses in .10-second increments. This time increment is stored in
permanent memory. This command also sets the pulse length for each pulse generated by the 'PON' or
'POF' send commands in tenths of seconds.
Syntax:
SEND_COMMAND <DEV>,"'PTON',<time>"
Variable:
time = 0 - 255. Given in 1/10ths of a second. Default is 5 (0.5 seconds).
Example:
SEND_COMMAND IR_1,"'PTON',15"
Sets the duration of the power pulse to 1.5 seconds for the IR_1 device.