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)

 

 

 

Page 16
Image 16
AMX AXB-IRS4 Sendcommand 2, CH,18, Sendcommand 2,CP,2, Sendcommand 2,CTOF,15, Sendcommand 2,CTON,10, Sendcommand 3,IROFF