AMX AXB-232++ RS-232422 INTERFACE (ENHANCED FUNCTIONALITY) User Manual
Size:
314.03 Kb
Download

instruction manual

AXB-232++

RS-232/422/485Interface

AXlink Bus Controllers

 

Table of Contents

Table of Contents

 

Product Information .................................................................................................

1

Front Panel........................................................................................................................

1

Rear Panel ........................................................................................................................

1

Specifications ....................................................................................................................

2

Installation and Wiring .............................................................................................

3

Setting the Internal Jumpers .............................................................................................

3

Setting jumper JP4 to terminate RS-422 input with 100 ohms.................................................

3

Setting jumper JP5 to set the RS-422 port for RS-485 use .....................................................

4

Setting the DIP Switches...................................................................................................

4

Setting the DEVICE DIP switch................................................................................................

4

Setting the RS-232/422 DIP switch..........................................................................................

5

Wiring Devices to the AXB-232++.....................................................................................

6

Preparing captive wires........................................................................................................

.... 6

Wiring guidelines..............................................................................................................

........ 6

Using AXlink...................................................................................................................

.......... 6

Using AXlink and External Power Supply ................................................................................

6

Using RS-232...................................................................................................................

........ 7

Using Hardware Handshaking .................................................................................................

7

Using RS-422...................................................................................................................

........ 7

Using RS-485...................................................................................................................

........ 7

Rack-mounting the AXB-232++ (optional) ........................................................................

....... 8

Replacing the Lithium Batteries ...............................................................................................

8

Programming ............................................................................................................

9

Send_Commands..............................................................................................................

9

Axcess program characteristics .............................................................................................

11

Send_String Escape Sequences.....................................................................................

12

AXB-232++ Program Statements....................................................................................

13

Xmodem Timing Commands...........................................................................................

14

AXlink Master Statements ...............................................................................................

14

Reserved Channels.........................................................................................................

15

Axcess Master Mode.......................................................................................................

15

AXB-232++RS-232/422/485Interface

i

 

 

 

 

Table of Contents

 

ii

AXB-232++RS-232/422/485Interface

 

 

 

Product Information

Product Information

The AXB-232++RS-232/422/485Interface is an AXlink bus controller that provides remote control for devices that require a variety of control protocols. TheAXB-232++extendsRS-232,RS-422,orRS-485control to remote sources over the4-wireAXlink data/power bus.

Onboard processing and memory allows the controller to take on complex tasks by itself, reducing the processing burden for the Axcess control system. For example, the control system can use simplified commands for generic video switcher or code control, a modular driver program in the AXB-232++can process control for specific makes and models.

Front Panel

FIG. 1 displays the front panel of theAXB-232++.

AXlink

DEVICE

RS-232/422

RX TX

 

ON

 

ON

AXlink LED

DEVICE DIP switch

FIG. 1 AXB-232++front panel

Rear Panel

FIG. 2 displays the rear panel of theAXB-232++.

TX LED

RX LED

RS-232/422

DIP Switch

RS232

 

 

RS422

 

 

RS232

 

 

AXlink

 

RTS

CTS

GND

TX

TX

RX

RX

12V

TX

RX

GND

GND

AXM

AXP

PWR

Hardware

 

 

 

AXlink connector

handshaking

 

 

 

 

 

 

 

 

 

 

 

connections

 

 

 

 

RS422

 

 

 

RS232

connections

 

 

 

 

connections

FIG. 2 AXB-232++rear panel

 

 

 

 

AXB-232++RS-232/422/485Interface

1

 

 

 

 

Product Information

Specifications

The following table lists the specifications for the AXB-232++.

Specifications

Power

12 VDC @ 160 mA

 

 

Processor

On board 32-bitprocessor and 384K (ofnon-volatilememory) run Axcess

 

programs independent of the control system. This relieves the AXlink bus and

 

controller for the processing time for controlling those devices. (Requires Axcess

 

Version 3.0 or higher.)

 

 

Asynchronous data

• Baud rates - 300, 600, 1200. 2400, 4800, 9600, 19200and 38400.

standards

56400 is supported via the BAUDMED Send Command (see the

 

 

Send_Commands section on page 9 for details).

 

115200 is supported via the BAUDHIGH Send Command (see the

 

Send_Commands section on page 9 for details).

 

• Data bits - 7, 8, and 9

 

• Stop bits - 1 and 2

 

• Parity - None,Odd,Even,Mark andSpace

 

 

Buffers

• 1KB input buffer

 

• 1KB AXlink buffer

 

 

Front Panel

 

 

 

AXlink LEDs

Green AXlink status indicator:

 

Full-Off indicates no power is being received or the controller is not functioning

 

properly.

 

One blink per second power is active and AXlink communication is functioning.

 

Full-On indicates power is active and AXlink data communication is not

 

functional.

 

 

RX LED (Red)

Blinks to indicate the AXB-232++is receivingRS-232,RS-422,orRS-485data.

 

The RX LED blinks even if the data being received is incorrect.

 

 

TX LED (Red)

Blinks to indicate the AXB-232++is sendingRS-232,RS-422,orRS-485data.

 

 

DEVICE DIP Switch

An eight-positionDIP switch used to set the device number for theAXB-232++.

 

Refer to Setting the DEVICE DIP switch, onpage 4, and Setting jumper JP5 to set

 

the RS-422 port for RS-485 use section on page 4 for more information.

 

 

RS232/422 DIP Switch

An eight-positionDIP switch used to set the communication parameters for the

 

RS-232/422device. Refer toSetting the RS-232/422 DIP switch, onpage 5, for

 

more information.

 

 

Rear Panel

 

 

 

Hardware handshaking

An RTS/CTS data connector that can be wired for hardware handshaking if called

connector

for by the controlled device (4-pinmale).

 

 

RS422/232 connector

A captive-wireconnector wired forRS-422/232data control(8-pinmale).

 

 

AXlink connector

Receives power and data via the AXlink bus and AXlink system controller

 

(4-pinmale).

 

 

Internal Jumpers

Sets differential input termination and enables RS-485output.

 

 

Supports

XON/XOFF software and hardware handshaking

 

 

Dimensions (HWD)

1.5" x 5.5" x 5.5" (3.81 cm x 13.97 cm x 13.97 cm)

 

 

Weight

1.1 lbs. (498.95 g)

 

 

Enclosure

Metal with black matte finish

 

 

Included Accessories

• AXlink connector (4-pinfemale)

 

• Phoenix connector (8-pinmale)

 

 

Optional Accessories

CC-232Control Cable

 

AC-RKAccessory Rack Kit

 

• 12 VDC power supply, 800 mA

 

 

 

2

AXB-232++RS-232/422/485Interface

 

 

 

Installation and Wiring

Installation and Wiring

The AXB-232++can be used as an independentRS-232/422/485-controlledinterface by setting the internal jumpers. Configure the communication parameters using the DIP switches on the front panel.

Setting the Internal Jumpers

JP4

Internal jumper JP4

Internal jumper JP5

JP5

front

CORP.1998

AXB-232++

FIG. 3 Location of internal jumpers

Setting jumper JP4 to terminate RS-422input with 100 ohms

Terminating a device involves installing a 100 ohm line terminator, this is typically used to achieve better communication and signal integrity. You will want to terminate when the communication is at a high data rate or over a long distance. Termination can be harmful because it increases the current in the line, and more radiation that could interfere with signals.

Jumper JP4 places 100 Ohms termination across RS422 receive data pins 5 & 6:

1.Disconnect the RS-232/422/485connectors.

2.Unscrew the two screws on the rear panel, and remove the panel.

3.Slide the circuit board out of the enclosure.

4.Locate the JP4 jumper (FIG. 3).

5.Install the jumper in the 'ON' position (default setting = OFF).

6.Slide the circuit board back into the enclosure.

7.Replace the panel, and refasten the screws.

8.Reconnect the RS-232/422/485connectors.

AXB-232++RS-232/422/485Interface

3

 

 

 

 

Installation and Wiring

Setting jumper JP5 to set the RS-422port forRS-485use

1.Disconnect the RS-232/422/485connectors.

2.Unscrew the two screws on the rear panel, and remove the panel.

3.Slide the circuit board out of the enclosure.

4.Locate the JP5 jumper (see FIG. 3 on page 3).

5.Set jumper JP5 to the ON position (the default setting is OFF).

6.Slide the circuit board back into the enclosure.

7.Replace the panel, and refasten the screws.

8.Reconnect the RS-232/422/485connectors.

Setting the DIP Switches

Use the DIPSwitch 2.0 application available for free download from AMX to quickly figure out DIP Switch settings for all types of DIP Switches.

Setting the DEVICE DIP switch

Set the device number on DEVICE DIP switch, located on the front of theAXB-232++.The device can be 1 of the 255 devices in an Axcess control system. The device number must match the device assignment in the Axcess program. Device numbers are assigned into the following three segments:

Cards 1 through 95

Boxes 96 through 127

Panels 128 through 255

Set the device number by setting the device DIP switches. The device number is the total of all of the switches in the ON position, and take effect by cycling the power. The following table shows the switch numbers and their corresponding values.

DEVICE DIP Switch Settings

Position

1

2

3

4

5

6

7

8

 

 

 

 

 

 

 

 

 

Value

1

2

4

8

16

32

64

128

 

 

 

 

 

 

 

 

 

 

4

AXB-232++RS-232/422/485Interface

 

 

 

Installation and Wiring

Setting the RS-232/422DIP switch

Set the stop bits, data bits, parity, and baud rate on the RS-232/422DIP switch, located on the front panel (seeFIG. 1 on page 1). TheAXB-232++supports the following asynchronous data standards:

Stop bits 1 and 2

Data bits 7, 8, and 9

Parity None, Odd, Even, Mark, and Space

Baud rates 300, 600, 1,200, 2,400, 4,800, 9,600, 19,200 and 38,400.

57,600 is achieved by setting the DIP switch to 300 baud, and using the ’BAUDMED’ Send_Command (see theSend_Commands section on page 9 for

details).

115,200 is achieved by setting the DIP switch to 300 baud, and using the ’BAUDHIGH’ Send_Command (see theSend_Commands section on page 9 for details).

The table below shows the RS-232/422DIP switch numbers, functions, and their corresponding values.

RS-232/422DIP Switch Settings

 

Switch

 

 

1

 

 

 

 

2

 

3

4

5

6

7

8

 

Function

 

 

Stop Bits

 

 

Data Bits

 

Parity

 

 

Baud Rates

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Setting

 

 

Off

 

 

 

 

Off

Off

Off

Off

Off

Off

Off

 

 

Value

 

 

2 bits

 

 

7 bits

 

Unused

 

 

300

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On

 

 

 

 

On

On

Off

Off

On

Off

Off

 

 

 

 

 

1 bit

 

 

8 bits

 

Unused

 

 

600

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Off

On

Off

Off

On

Off

 

 

 

 

 

 

 

 

 

 

 

 

 

Unused

 

 

1,200

 

 

 

RS232/422

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On

On

Off

On

On

Off

 

 

 

 

 

 

 

 

 

 

 

 

 

Unused

 

 

2,400

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

1

2

3

4

5

6

7

8

ON

Off

Off

On

Off

Off

On

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Mark

 

 

4,800

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On

Off

On

On

Off

On

 

 

 

 

 

 

 

 

 

 

 

 

 

Even

 

 

9,600

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Off

On

On

Off

On

On

 

 

 

 

 

 

 

 

 

 

 

 

 

Odd

 

 

19,200

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

On

On

On

On

On

On

 

 

 

 

 

 

 

 

 

 

 

 

 

None

 

 

38,400

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AXB-232++RS-232/422/485Interface

5

 

 

 

 

Installation and Wiring

Wiring Devices to the AXB-232++

Preparing captive wires

To connect the wiring into a captive-wireconnector:

1.Strip 1/4 inch off the wire insulation for all four wires.

2.Tin 2/3 of the exposed wire.

3.Insert each wire into the appropriate captive-wireconnector up to the insulation.

4.Tighten the captive screws to secure the fit in the connector.

If the device is using a separate power supply, do not connect the power wiring from the AXB-232++to that device.

Wiring guidelines

The interface requires a 12 VDC power to operate properly. The interface uses a PSN2.8 power supply. The Central Controller supplies power via the AXlink cable or external 12 VDC power supply. The maximum wiring distance between the Central Controller and interface is determined by power consumption, supplied voltage, and the wire gauge used for the cable. The table below lists wire sizes and maximum lengths allowable between the AXB-RS232++and Central Controller. The maximum wiring lengths for using AXlink power are based on a minimum of 13.5 volts available at the Central Controller’s power supply.

Wiring Guidelines at 160 mA

Wire Size

Maximum Wiring Length

 

 

18 AWG

733.57 feet (223.59 m)

 

 

20 AWG

464.11 feet (141.46 m)

 

 

22 AWG

289.35 feet (88.19 m)

 

 

24 AWG

182.39 feet (55.59 m)

 

 

Using AXlink

Connect the AXlink wiring to the connector on the AXB-232++as shown inFIG. 4.

 

PWR

 

 

 

PWR

 

 

 

 

 

 

AXlink

AXP

 

 

 

AXP

System

 

 

 

AXM

 

 

 

AXM

 

 

 

 

 

 

GND

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 4 AXlink bus and +12 VDC power wiring

Using AXlink and External Power Supply

Connect the AXlink and power wiring to the connector on the AXB-232++as shown inFIG. 5.

 

PWR

 

 

 

 

 

 

 

 

 

 

 

PWR

 

AXlink

AXP

 

 

 

 

 

 

 

 

 

 

 

AXP

System

 

 

 

 

 

 

 

 

 

 

 

AXM

 

 

 

 

 

 

 

 

 

 

 

AXM

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

+12 VDC

Power Supply

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 5 AXlink bus and +12 VDC power wiring

 

6

AXB-232++RS-232/422/485Interface