AMX AXB-IRS4 Sendcommand 2, CH,18, Sendcommand 2,CP,2, Sendcommand 2,CTOF,15, Sendcommand 3,IROFF

Page 16

Programming

Send Commands (Cont.)

Command

Description

 

 

'CH',channel number

Transmit the IR pulses that select 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 number. If

 

the channel is greater or equal to 100, the IR Function Number (FN) 127 is

 

generated for the one-hundredth digit.

 

Variable:

 

channel number = 1-199

 

Example:

 

SEND_COMMAND 2, "'CH',18"

 

The AXB-IRS4 performs the following:

 

• Transmits the IR code pulses for 1 (IR code 11) for the time set by CTON.

 

• Waits for the time set by CTOF.

 

• Transmits the IR code pulses 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 the IR code pulses for ENTER (IR code 21) for the time set by

 

CTON.

 

• Waits for the time set by CTOF.

 

 

'CP',code

Transmit IR code pulses and clear all commands in the buffer. Pulse time

 

is set by the CTON and CTOF commands.

 

Variable:

 

code = 1-252

 

Example:

 

SEND_COMMAND 2,"'CP',2"

 

Clears all pending commands in device 2, and pulses command number 2.

 

 

'CTOF',time

Set the off time in tenths of a second. Default time is 5 (0.5 second). The

 

time is stored in non-volatile RAM.

 

Variable:

 

time = 1-255

 

Example:

 

SEND_COMMAND 2,"'CTOF',15"

 

Sets channel pulse's off time for device 2 to 1.5 seconds.

 

 

'CTON',time

Set the on time in tenths of a second. Default time is 5 (0.5 second). Time

 

is stored in non-volatile RAM.

 

Variable:

 

time = 1-255

 

Example:

 

SEND_COMMAND 2,"'CTON',10"

 

Sets the channel pulse's on time for device 2 to 1 second.

 

 

IROFF

Stop all IR code or pulses from being generated.

 

Example:

 

SEND_COMMAND 3,'IROFF'

 

Stops the current IR output on device 3.

 

 

 

12

AXB-IRS4 IR/Serial Interface (4 Ports)

 

 

 

Image 16
Contents AXB-IRS4 AMX Limited Warranty and Disclaimer Table of Contents Table of Contents Specifications AXB-IRS4 SpecificationsProduct Information Front panel componentsFront and rear views of the AXB-IRS4 Configuration and Installation Setting the Device DIP SwitchSetting the Carrier/BAUD DIP switch Device DIP Switch SettingsPositions 1-4 Carrier signal enable/disable Position 5 RS-232/PCTouch modePositions 6-8 Baud rate setting RS-232 Baud Rate SettingsAXlink communication Removing the circuit cardRS232 communication Wiring the AXB-IRS4 Wiring GuidelinesWiring Guidelines at 125 mA Preparing/connecting captive wiresUsing AXlink for data and power Using AXlink for data and a 12 VDC power supplyUsing the AXlink-to-DB-9 connector cable for a PC system DB-9 Wiring PinoutsUsing the AXlink-to-DB-25 connector cable for a PC system DB-25 Wiring PinoutsReplacing the Lithium Battery Connecting an IR deviceConnecting a serial device SER Serial device wiring diagramConfiguration and Installation Channel Setting Commands Send CommandsChannel Setting Commands Send CommandsSendcommand 2, CH,18 Sendcommand 2,CP,2Sendcommand 2,CTOF,15 Sendcommand 2,CTON,10Sendcommand IR1,XCH Sendcommand 1,SP,2Sendcommand IR1, XCH RS-232 Protocol Commands IR Output RS-232 Protocol CommandsRS-232 Protocol Commands IR Output RS-232 Protocol Commands Channel Pulse Time RS-232 Protocol Commands Channel Pulse TimeRS-232 Protocol Commands Carrier RS-232 Protocol Commands CarrierRS-232 Protocol Commands Miscellaneous RS-232 Protocol Commands MiscellaneousZapall ZAP!DevProgramming AXB-IRS4 IR/Serial Interface 4 Ports AMX reserves