AMX AXB-IRS4 instruction manual RS-232 Protocol Commands IR Output

Page 18

Programming

Send Commands (Cont.)

Command

Description

 

 

XCH <Channel>

Transmit the IR code in the format set with the XCHM mode command.

 

Syntax:

 

SEND_COMMAND <DEV>,'XCH <Channel>'

 

Variable:

 

<Channel> = 0 through 999

 

 

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)

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.

 

 

 

14

AXB-IRS4 IR/Serial Interface (4 Ports)

 

 

 

Image 18
Contents AXB-IRS4 AMX Limited Warranty and Disclaimer Table of Contents Table of Contents Product Information SpecificationsAXB-IRS4 Specifications Front panel componentsFront and rear views of the AXB-IRS4 Setting the Carrier/BAUD DIP switch Configuration and InstallationSetting the Device DIP Switch Device DIP Switch SettingsPositions 6-8 Baud rate setting Positions 1-4 Carrier signal enable/disablePosition 5 RS-232/PCTouch mode RS-232 Baud Rate SettingsRemoving the circuit card AXlink communicationRS232 communication Wiring Guidelines at 125 mA Wiring the AXB-IRS4Wiring Guidelines Preparing/connecting captive wiresUsing the AXlink-to-DB-9 connector cable for a PC system Using AXlink for data and powerUsing AXlink for data and a 12 VDC power supply DB-9 Wiring PinoutsUsing the AXlink-to-DB-25 connector cable for a PC system DB-25 Wiring PinoutsConnecting a serial device Replacing the Lithium BatteryConnecting an IR device SER Serial device wiring diagramConfiguration and Installation Channel Setting Commands Channel Setting CommandsSend Commands Send CommandsSendcommand 2,CTOF,15 Sendcommand 2, CH,18Sendcommand 2,CP,2 Sendcommand 2,CTON,10Sendcommand 1,SP,2 Sendcommand IR1,XCHSendcommand IR1, XCH RS-232 Protocol Commands RS-232 Protocol Commands IR OutputRS-232 Protocol Commands IR Output RS-232 Protocol Commands Carrier RS-232 Protocol Commands Channel Pulse TimeRS-232 Protocol Commands Channel Pulse Time RS-232 Protocol Commands CarrierZapall RS-232 Protocol Commands MiscellaneousRS-232 Protocol Commands Miscellaneous ZAP!DevProgramming AXB-IRS4 IR/Serial Interface 4 Ports AMX reserves