AMX NXI Network Card User Manual


 
Programming
17
NXI NetLinx Integrated Controller
IR/Serial Send_Commands (Cont.)
CTOF
Sets the duration of off time
(no signal) between IR pulses
for channel and IR function
transmissions. Off time set-
tings are stored in non-vola-
tile memory. The factory
default for channel off time is
5 (.5 second).
This command is associated with the SP (single pulse) and CP (clear pulse)
commands.
Syntax:
SEND_COMMAND <DEV>,"'CTOF',<Time>"
Variable:
Time = 0-255 in tenths of a second increments
Example:
SEND_COMMAND IR_1,"'CTOF',10"
Sets the off time between each IR pulse to 1 second.
CTON
Sets the total time of IR
pulses transmitted, and is
stored in non-volatile mem-
ory.
Syntax:
SEND_COMMAND <DEV>," 'CTON',<Time>"
Variable:
Time = 0-255 in tenths of a second increments; default = 5 (.5 second).
Example:
SEND_COMMAND IR_1,"'CTON',20"
Sets the IR pulse duration to 2 seconds.
GET MODE
Polls the IR/Serial ports and
reports the active mode set-
tings to the device request-
ing the information.
Syntax:
SEND_COMMAND <DEV>, 'GET MODE'
Example:
SEND_COMMAND IR_1,'GET MODE'
System response example:
PORT 4 IR,CARRIER,IO LINK 0
IROFF
Halts and clears all IR 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
Disables active PON (power
on) or POF (power off) com-
mand 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 PON and POF command settings on the IR_1 device.
POF
Turns off a device, based on
input Link.
If at any time the IR sensor reads that the device is on (such as if one turned it
on manually at the front panel), the card automatically attempts to turn the
device back off. If three attempts fail, the card will continue executing com-
mands in the buffer. If there are no commands in the buffer, the card will con-
tinue to try until a 'PON' or 'POD' command is received. If it fails to turn the
device off, a PUSH and RELEASE is made on channel 254 to indicate a power
failure error.
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.