AMX NetLinx NXM Series User Manual
Page 30

NXC-IRS4 4-Port IR/S Control Card
24
NetLinx Cardframe, Control Cards, and NetModules
NXC-IRS4 Send_Commands (Cont.)
Command
Description
SET INPUT LINK
Sets an IR device to link to an
input channel for use with
'PON' and 'POF' commands.
The input channel is used for
power sensing (via a PCS).
Sets an IR device to link to an input channel for use with 'PON', and 'POF'
commands. This input channel is used for power sensing (via the PCS). A
channel of zero disables the link.
Syntax:
SEND_COMMAND
Variable:
channel = 1 - 4. Setting the channel to 0 disables the link.
Example:
SEND_COMMAND IR_1,"'SET INPUT LINK 1'"
Sets the IR_1 port link to I/O channel 1. The IR port uses the specified input as
power status for processing PON and POF commands.
SET IO LINK
Link an IR or Serial port to a
selected I/O channel for use
with the 'DE', 'POD', 'PON',
and 'POF' commands.
The I/O status is automatically reported on channel 255 on the IR port. The I/O
channel is used for power sensing (via a PCS or VSS). A channel of zero
disables the I/O link.
Syntax:
SEND_COMMAND
Variable:
I/O number = 1 - 4. Setting the I/O channel to 0 disables the I/O link.
Example:
SEND_COMMAND IR_1,"'SET INPUT LINK 1'"
Sets the IR_1 port link to I/O channel 1. The IR port uses the specified input as
power status for processing PON and POF commands.
NOTE: This command is included for older programs only. The Input port is not
an I/O. No output functions are available.’SET IO LINK’ applies the same
configuration as the ’SET INPUT LINK’ command.
SET MODE
Set the IR/Serial ports for IR
or Serial-controlled devices
connected to a CardFrame or
NetModule.
Sets an IR port to either IR or Serial mode.
Syntax:
SEND_COMMAND
Variable:
mode = IR or SERIAL.
Example:
SEND_COMMAND IR_1,"'SET MODE IR'"
Sets the IR_1 port to IR mode for IR control.
SP
Generate a single IR pulse.
You can use the 'CTON' to set pulse lengths and the 'CTOF' for time off between
pulses.
Syntax:
SEND_COMMAND "
Variable:
code = IR code value 1 - 252 (253-255 reserved).
Example:
SEND_COMMAND IR_1, "'SP',25"
Pulses IR code 25 on IR_1 device.
XCH
Transmit the selected chan-
nel IR codes in the format/
pattern set by the 'XCHM'
send
command.
Syntax:
SEND_COMMAND
Variable:
channel = 0 - 999.
Example:
For detailed usage examples, refer to the 'XCHM' command.