Rs-232 protocol commands, Rs-232 protocol commands (ir output) – AMX Interface Port AXB-IRS4 User Manual
Page 18

Programming
14
AXB-IRS4 IR/Serial Interface (4 Ports)
RS-232 Protocol Commands
The RS-232 protocol commands listed in the following tables send control signals from an RS-232
device to the AXB-IRS4. The following RS-232 figures are grouped together by IR output, channel
pulse time, and carrier commands.
RS-232 Protocol Commands (IR Output)
Send Commands (Cont.)
Command
Description
XCH
Transmit the IR code in the format set with the XCHM mode command.
Syntax:
SEND_COMMAND
Variable:
RS-232 Protocol Commands (IR Output)
Command
Description
CH[Dev,Chan]
Transmit IR pulses to the designated device that selects the proper channel.
Enter all channel numbers below 100 as two digits. For example, enter channel
1 as 01. If the IR code for ENTER (#21) is loaded, an ENTER follows the num-
ber. If the channel is greater or equal to 100, IR FN 127 is generated for the
one-hundredth digit.
Variable:
Dev = 1-4, Chan = 1-199
Example:
CH[1,18]
The AXB-IRS4 performs the following:
• Transmits IR pulses for 1 (IR code 11) for the time set by CTON.
• Waits for the time set by CTOF.
• Transmits IR pulses for the IR code for 8 (IR code 18) for the time set by
CTON.
• Waits for the time set by CTOF. If the IR code for ENTER (IR code 21) is
programmed, steps 5 and 6 are performed.
• Transmits IR pulses for ENTER (IR code 21) for the time set by CTON.
• Waits for the time set by CTOF.
CP(Dev,Chan)
Transmit IR code pulses and clear all commands in the buffer. This command
pulses the actual IR code. Pulse time is set by the CTON and CTOF com-
mands.
Variable:
Dev = 1-4, Chan = 1-252
Example:
CP[1,2]
Clears pending commands and pulses command number 2.
OFF[Dev,Chan]
Stop IR output on the designated device and channel.
Variable:
Dev = 1-4, Chan = 1-252
Example:
OFF[1,11]
Stops device 1 from transmitting command number 11.