![background image](http://html.mh-extra.com/html/amx/dxlink/dxlink_instruction-manual_2938738088.webp)
NetLinx Programming of DXLink Transmitters and Receivers
88
Instruction Manual – DXLink™ Twisted Pair Transmitters/Receiver
IR SEND_COMMANDs
On the DXLink Transmitters and Receiver Modules, IR CHANNELS and SEND_COMMANDs are sent to Port 3
(IR output).
IR CHANNELs
IR SEND_COMMANDs
Channel
Function
1-255
Generate the IR or serial command assigned to that channel.
IR SEND_COMMANDs (Transmitters and Receivers)
Command
Description
CAROFF
Disable the IR carrier
signal until a 'CARON'
Send Command is
received.
Syntax:
SEND_COMMAND <DEV>,"'CAROFF'"
Example:
SEND_COMMAND IR_1,"'CAROFF'"
Stops transmitting IR carrier signals to the IR port.
CARON
Enable the IR carrier
signals (default).
Syntax:
SEND_COMMAND <DEV>,"'CARON'"
Example:
SEND_COMMAND IR_1,"'CARON'"
Starts transmitting IR carrier signals to the IR port.
CH
Send IR pulses for the
selected channel.
• All channels below 100 are transmitted as two digits.
• If the IR code for ENTER (function #21) is loaded, an Enter will follow the number.
• If the channel is greater than or equal to (>=) 100, then IR function 127 or 20 (whichever
exists) is generated for the one hundred digit.
Note:
Set the Pulse and Wait times with 'CTON' and 'CTOF' (see the next page).
Syntax:
SEND_COMMAND <DEV>,"'CH',<channel number>"
Variable:
channel number = 0 to 199 channels
Example:
SEND_COMMAND IR_1,"'CH',18"
The IR port on the DXLink TX or RX performs the following:
• Transmits IR signals for 1 (IR code 11).
• The transmit time is set with the CTON command.
• Waits until the time set with the CTOF command elapses.
• Transmits IR signals for 8 (IR code 18).
• Waits for the time set with the CTOF command to elapse.
If the IR code for Enter (IR code 21) is programmed, the module performs the following
steps:
• Transmits IR signals for Enter (IR code 21).
• Waits for the time set with the CTOF command to elapse.
CP
Halt and clear all active or
buffered IR commands,
and then send a single IR
pulse.
Pulse and Wait times can be set with the 'CTON' and 'CTOF' commands.
Syntax:
SEND_COMMAND <DEV>,"'CP',<code>"
Variable:
code = IR port’s channel value 0 to 252 (253 to 255 reserved).
Example:
SEND_COMMAND IR_1,"'CP',2"
Clears the active/buffered commands and pulses IR port’s channel 2.