background image

Programming

13

AXB-IRS4 IR/Serial Interface (4 Ports)

Send Commands (Cont.)

Command

Description

"'SP',code"

Transmit IR code pulses. Pulse time is set by the CTON and CTOF com-
mands.

Variable:

code = 1-252

Example:

SEND_COMMAND 1,"'SP',2"

Transmits a pulse out for command number 2 to device 1.

XCHM

Changes the IR output pattern for 
the XCH command.

Syntax:

SEND_COMMAND <DEV>,'XCH-<Mode>'

Variable:

Mode = 0-4

Example:

SEND_COMMAND IR_1,'XCH 3'

Sets the IR_1 device's extended channel command to mode 3.

Mode 0 Example (default): [x] [x] <x> <enter>

SEND_COMMAND IR_1, 'XCH 3'

Transmits the IR code as 3-enter.

SEND_COMMAND IR_1, 'XCH 34'

Transmits the IR code as 3-4-enter.

SEND_COMMAND IR_1, 'XCH 343'

Transmits the IR code as 3-4-3-enter.

Mode 1 Example: <x> <x> <x> <enter>

SEND_COMMAND IR_1, 'XCH 3'

Transmits the IR code as 0-0-3-enter.

SEND_COMMAND IR_1, 'XCH 34'

Transmits the IR code as 0-3-4-enter.

SEND_COMMAND IR_1, 'XCH 343'

Transmits the IR code as 3-4-3-enter.

Mode 2 Example: <x> <x> <x>

SEND_COMMAND IR_1, 'XCH 3'

Transmits the IR code as 0-0-3.

SEND_COMMAND IR_1, 'XCH 34'

Transmits the IR code as 0-3-4.

SEND_COMMAND IR_1, 'XCH 343'

Transmits the IR code as 3-4-3.

Mode 3 Example: [[100][100]…] <x> <x>

SEND_COMMAND IR_1, 'XCH 3'

Transmits the IR code as 0-3.

SEND_COMMAND IR_1, 'XCH 34'

Transmits the IR code as 3-4.

SEND_COMMAND IR_1, 'XCH 343'

Transmits the IR code as 100-100-100-4-3.

Summary of Contents for AXB-IRS4

Page 1: ...instruction manual AXlink Bus Controllers AXB IRS4 IR Serial Interface 4 Ports ...

Page 2: ... liability applies whether damages are sought or a claim is made under this warranty or as a tort claim including negligence and strict product liability a contract claim or any other claim This limitation of liability cannot be waived or amended by any person This limitation of liability will be effective even if AMX Corporation or an authorized representative of AMX Corporation has been advised ...

Page 3: ...cation 5 RS232 communication 5 Wiring the AXB IRS4 6 Wiring Guidelines 6 Preparing connecting captive wires 6 Using AXlink for data and power 7 Using AXlink for data and a 12 VDC power supply 7 Using the AXlink to DB 9 connector cable for a PC system 7 Using the AXlink to DB 25 connector cable for a PC system 8 Connecting an IR device 9 Connecting a serial device 9 Replacing the Lithium Battery 9 ...

Page 4: ...ii AXB IRS4 IR Serial Interface 4 Ports Table of Contents ...

Page 5: ...the AXlink is functional Full on Power is active and AXlink communication is not functional Fast blink There is a memory error A memory error can be caused by a power deficient battery Follow the instructions in the Replacing the Lithium Battery section on page 9 If the error continues contact AMX technical support for assistance If a PC system controls the AXB IRS4 the green AXlink LED blinks whe...

Page 6: ... the Wiring Guidelines section on page 6 Battery Lithium battery backup for stored control commands Enclosure type Metal with black textured finish Weight 1 12 lbs 508 grams Dimensions 1 51 x 5 55 x 5 45 38 4mm x 141 0mm x 138 4mm Mounting options Flat surface Rack mount with optional AC RK Rack Kit FIG 1 Front and rear views of the AXB IRS4 AXlink DEVICE CARRIER BAUD 1 3 2 4 IR SERIAL ON ON GND S...

Page 7: ...a new DIP switch device number disconnect and connect the AXlink or 12 VDC power connector on the AXB IRS4 Setting the Carrier BAUD DIP switch The CARRIER BAUD DIP switch sets the carrier signals and baud rates for the AXB IRS4 DIP switch positions 1 through 4 set the carrier NC signal option for ports 1 through 4 DIP switch position 5 is used for RS 232 or PCTouch mode DIP switch positions 6 thro...

Page 8: ...CARRIER BAUD DIP switch sets either RS 232 or PCTouch mode If you enable PCTouch mode the AXB IRS4 will only respond to PCTouch PCCOM command protocol If you enable RS 232 mode the AXB IRS4 will respond to the standard AXB IRS4 control protocol PCCOM control protocol and SX DCU control protocol You can also use RS 232 mode to download codes to the AXB IRS4 with the IRLIB software program Position ...

Page 9: ... AXM RX E1 connector pins 1 and 2 2 Place the 2 pin jumper on the AXP TX E2 connector pins 1 and 2 RS232 communication To set internal jumpers E1 and E2 for RS 232 communication FIG 4 1 Place the 2 pin jumper on the AXM RX E1 connector pins 2 and 3 2 Place the 2 pin jumper on the AXP TX E2 connector pins 2 and 3 3 Set all the DEVICE DIP switch positions to OFF up One the jumpers are set replace th...

Page 10: ...from the control system than recommended in the Wiring Guidelines table connect a 12 VDC power supply to the 2 pin 12 VDC PWR connector on the rear panel Preparing connecting captive wires 1 Strip 0 25 inch of wire insulation off all wires 2 Insert each wire into the appropriate opening on the connector according to the wiring diagrams and connector types described in this section Do not tighten t...

Page 11: ...connector cable for a PC system The AXlink RS 232 connector on the back of the AXB IRS4 can be connected to a PC system using a DB 9 connector cable Connector pins 2 3 and 5 are used for data and ground The following table lists the DB 9 wiring pinouts FIG 6 AXlink data and power wiring diagram FIG 7 AXlink and optional 12 VDC power supply wiring diagram PWR GND PWR PWR AXM RX AXM AXP TX AXP GND G...

Page 12: ...m For some applications you may need to strap pin 4 ready to send to 5 clear to send and or pin 6 data set ready to 20 data terminal ready depending on the PC FIG 8 AXlink RS 232 DB 9 and power supply wiring diagram DB 25 Wiring Pinouts Pin Signal Function Pin Signal Function 1 N A Not used 6 DSR Data set ready 2 TXD Transmit data 7 GND Signal ground 3 RXD Receive data 8 19 N A Not used 4 RTS Read...

Page 13: ...nd has a device specific interface adapter such as a control plug Connect serial devices to the AXB IRS4 as shown in FIG 11 Each serial device requires a model specific cable Make sure to match each serial device with the appropriate cable Replacing the Lithium Battery A lithium battery FIG 12 with a life of approximately 5 years protects stored presets if a power loss occurs The battery is not us...

Page 14: ...ully pry the battery out of its socket and insert the new battery Write down the next replacement date on a sticker or label by adding 5 years to the replacement date and then attach it to the bottom of the AXB IRS4 8 Plug all cables back into the AXB IRS4 9 Place the top portion of the enclosure back onto the bottom portion Then refasten the five pan head screws 10 Reconnect the cables removed fo...

Page 15: ...simultaneous CH CP SP CTON and CTOF send commands Each command is stored and transmitted to the appropriate channel when it becomes available Channel Setting Commands Channel Description 1 252 Channel assignment for IR output 253 Non volatile data error If IR memory is cleared the lithium battery may need to be replaced 255 Non volatile data not present Control commands are not loaded into the AXB...

Page 16: ...de 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...

Page 17: ... IR code as 3 enter SEND_COMMAND IR_1 XCH 34 Transmits the IR code as 3 4 enter SEND_COMMAND IR_1 XCH 343 Transmits the IR code as 3 4 3 enter Mode 1 Example x x x enter SEND_COMMAND IR_1 XCH 3 Transmits the IR code as 0 0 3 enter SEND_COMMAND IR_1 XCH 34 Transmits the IR code as 0 3 4 enter SEND_COMMAND IR_1 XCH 343 Transmits the IR code as 3 4 3 enter Mode 2 Example x x x SEND_COMMAND IR_1 XCH 3...

Page 18: ...TER 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 I...

Page 19: ...ulse Time Command Description CTOF Dev Time Set the channel s off time pulse in tenths of a second Default time is 5 0 5 second Time is stored in non volatile RAM Variable Dev 1 4 Time 1 255 Example CTOF 1 10 Sets channel off time pulse to one second on device 1 CTON Dev Time Set the channel s on time pulse in tenths of a second Default time is 5 0 5 second Time is stored in non volatile RAM Varia...

Page 20: ...isplay the on line help menu MEM Display the current amount of available memory VER Display the current software version of the AXB IRS4 ZAP Dev Clear the specified device s IR data and re initialize CTON CTOF to their default val ues Example ZAP 1 Clears IR load on device 1 and sets CTON and CTOF to 5 ZAPALL Clear all device s IR data and re initialize CTON and CTOF to their default values Exampl...

Page 21: ...Programming 17 AXB IRS4 IR Serial Interface 4 Ports ...

Page 22: ...ive richardson TX 75082 USA 469 624 8000 800 222 0193 fax 469 624 7153 technical support 800 932 6993 032 004 1018 5 02 2002 AMX Corporation All rights reserved AMX the AMX logo the building icon the home icon and the light bulb icon are all trademarks of AMX Corporation AMX reserves the right to alter specifications without notice at any time In Canada doing business as Panja Inc ...

Reviews: