AMX AXB-EM232 ENHANCED MASTER RS-232 CONTROLLER User Manual
Size:
339.86 Kb
Download

instruction manual

AXB-EM232

Enhanced Master RS-232Controller

Axcess Central Controllers

AMX Limited Warranty and Disclaimer

AMX Corporation warrants its products to be free of defects in material and workmanship under normal use for three (3) years from the date of purchase from AMX Corporation, with the following exceptions:

Electroluminescent and LCD Control Panels are warranted for three (3) years, except for the display and touch overlay components that are warranted for a period of one (1) year.

Disk drive mechanisms, pan/tilt heads, power supplies, MX Series products, and KC Series products are warranted for a period of one (1) year.

Unless otherwise specified, OEM and custom products are warranted for a period of one (1) year.

Software is warranted for a period of ninety (90) days.

Batteries and incandescent lamps are not covered under the warranty.

This warranty extends only to products purchased directly from AMX Corporation or an Authorized AMX Dealer.

AMX Corporation is not liable for any damages caused by its products or for the failure of its products to perform. This includes any lost profits, lost savings, incidental damages, or consequential damages. AMX Corporation is not liable for any claim made by a third party or by an AMX Dealer for a third party.

This limitation of 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 of the possibility of any such damages. This limitation of liability, however, will not apply to claims for personal injury.

Some states do not allow a limitation of how long an implied warranty last. Some states do not allow the limitation or exclusion of incidental or consequential damages for consumer products. In such states, the limitation or exclusion of the Limited Warranty may not apply. This Limited Warranty gives the owner specific legal rights. The owner may also have other rights that vary from state to state. The owner is advised to consult applicable state laws for full determination of rights.

EXCEPT AS EXPRESSLY SET FORTH IN THIS WARRANTY, AMX CORPORATION MAKES NO OTHER WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. AMX CORPORATION EXPRESSLY DISCLAIMS ALL WARRANTIES NOT STATED IN THIS LIMITED WARRANTY. ANY IMPLIED WARRANTIES THAT MAY BE IMPOSED BY LAW ARE LIMITED TO THE TERMS OF THIS LIMITED WARRANTY.

 

Table of Contents

Table of Contents

 

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

1

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

1

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

2

Installation .........................................................................................................................

3

Setting the internal jumpers ...................................................................................................

.. 3

Setting DIP switches ...........................................................................................................

..... 3

Wiring Devices to the AXB-EM232....................................................................................

4

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

.... 4

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

.......... 4

Using Ports 1 and 2 for RS-232 data communication ..............................................................

5

Using Port 1 for RS-422 communication..................................................................................

6

Using Port 1 for RS-485 data communication..........................................................................

6

Using the 12 VDC power supply ..............................................................................................

6

RS-232 male program connector .............................................................................................

7

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

7

Mounting the AXB-232 In an Equipment Rack..................................................................

8

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

9

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

9

Send_Strings...................................................................................................................

10

Xmodem timing commands.............................................................................................

10

AXB-EM232Enhanced MasterRS-232Controller

i

 

 

 

 

Table of Contents

 

ii

AXB-EM232Enhanced MasterRS-232Controller

 

 

 

Product Information

Product Information

Product Information

The AXB-EM232Enhanced MasterRS-232Controller(FIG. 1) is an AXlink bus device that functions like an AMX Master Card in a single compact enclosure. It is fully compatible with the Axcess Control System and can be used either as astand-alonedevice or with other AMX bus devices. TheAXB-EM232runs complete Axcess programs, and controls other AXlink components and two devices usingRS-232as a control protocol. It can also control devices usingRS-422andRS-485protocols.

RS-232ProgramRS-232 DIP switch

Program port

AXlink

AXlink

 

 

 

RS-232

 

TX1

 

Status LED

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PROGRAM

 

PROGRAM

 

RX1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTS2

CTS2

V TX2 RX2 GND

TX TX

RX RX 485EN

TX1

RX1

GND

 

 

 

RS-232

 

RS-232 /422

 

 

 

 

 

 

Port 2

 

Port 1

 

 

 

(RS-232only)

(RS-232/422/485)

FIG. 1 AXB-EM232Front and rear panel components

TX1/RX1 LEDs

 

 

 

RS-232/422

 

 

 

DIP switches

 

 

 

(1 and 2)

 

RS-232 /422

 

TX2

 

 

 

TX2/RX2 LEDs

1

ON

2

RX2

 

 

 

GND

AXM AXP PWR

 

12VDC

 

 

 

AXlink

 

PWR

 

 

 

Power

 

AXlink

 

supply

 

 

connector

connector

 

 

(2-pin)

 

 

 

AXB-EM232Enhanced MasterRS-232Controller

1

 

 

 

 

Product Information

Specifications

The following table lists the specifications for the AXB-EM232.

AXB-EM232Product Specifications

Power

12 VDC, 160 mA

 

 

Asynchronous data communication

• Baud rates: 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400

 

• Data bits: 7 or 8

 

• Stop bits: 1 or 2

 

• Parity: None, Odd, Even, Mark, or Space

 

 

Memory

64 KB battery protected memory, expandable to 256 KB

 

 

Front Panel Components:

 

 

 

AXlink status LED

Green LED lights to indicate AXlink communication as status as follows:

 

• One blink per second : Power is active and AXlink communication is

 

functioning.

 

• Two blinks per second: Devices specified in the master program do not

 

match the specified devices found.

 

• Three blinks per second: Indicates an AXlink communication error.

 

Full-onindicates the following conditions:

 

There is no AXlink control or activity, but power is on.

 

The Axcess program is not loaded.

 

 

RS-232Program connector

This DB-9RS-232connector is used for AMX programming tools, such

 

as Axcess and IRLIB.

 

 

RS-232Program DIP switch

The 8-positionDIP switch configures the communication parameters for

 

the Program port.

 

 

TX1 and RX1 LEDs

The red LEDs indicate that the AXB-EM232is receiving (RX) or transmit-

 

ting (TX) RS-232,RS-422,orRS-485data. RX1 and TX1 correspond to

 

Port 1 on the rear panel (See Rear Panel Components for a description

 

of Port 1).

 

 

RS-232/4221 and 2 DIP

The two 8-positionDIP switches configure the communication parame-

Switches

ters for the Ports 1 and 2 (See Rear Panel Components for a description

 

of Ports 1 and 2).

 

 

TX2 and RX2 LEDs

The red LEDs indicate that the AXB-EM232is receiving (RX) or transmit-

 

ting (TX) RS-232data. RX2 and TX2 correspond to Port 2 (SeeRear

 

Panel Components for a description of Port 2).

 

 

Rear Panel Components:

 

 

 

Ports 1 and 2

There are two serial connectors: Port 2 is a 6-wireRS-232captive-wire

 

connector; Port 1 is an 8-wireRS-232/422captive wire connector.

 

 

AXlink connector

The AXlink connector is a 4-wire,captive-wireconnector for data and

 

power.

 

 

Power supply connector

The PWR connector is a 2-wire,captive-wireconnector for the 12 VDC

 

power supply.

 

 

Enclosure

Non-glare,high-impactblack plastic

 

 

Dimensions (HWD)

1.5" x 5.6" x 6.5" (3.8 cm x 14.1 cm x 16.4 cm)

 

 

Weight

1.1 lbs (501.7 g)

 

 

Mounting options

Rack mounting with the optional AC-RKAccessory Rack Kit

 

 

Optional Accessories:

 

 

 

Power Supply

• PSN2.8 (FG423-05)

 

• PSN6.5 Domestic (FG423-41),International(FG423-43)

 

 

Mounting Hardware

AC-RKAccessory Rack Kit (FG515)

 

 

 

2

AXB-EM232Enhanced MasterRS-232Controller

 

 

 

Product Information

Installation

Setting the internal jumpers

Some RS-232devices require that the bus be terminated at 100 ohms. Follow these steps if your device requires this termination.

1.Discharge the static electricity from your body.

2.Unplug the two-pinpower connector.

3.Remove the two screws on the front panel.

4.Remove the front panel, and slide the circuit board out of the enclosure.

5.Remove the jumper on pin trio E1 from pins 2-3and place it on pins1-2(FIG. 2).

 

100

 

E1

1 2

3

 

 

1 2 3

1 2 3 HI Z

FIG. 2 Communication jumpers

6.Replace the board in the enclosure. Then, replace the front panel, refasten the two screws, and plug in the two-wirepower connector.

Setting DIP switches

Configure the device and programming communication ports' baud rate, data bits, stop bits, and parity. Use the eight-positionDIP switches on the front panel to set the communications parameters.

!RS-232 PROGRAM DIP switch - Use theeight-positionRS-232Program DIP switch to set the communications parameters for the PROGRAM port.

!RS-232/422 DIP switches - Use the twoeight-positionRS232/422 DIP switches to set communications parameters for controlling theRS-232,RS-422,orRS-485devices.

!·Set Switch 1 to configure the parameters for Port 1 (RS-232/422/485).

!Set Switch 2 to configure the parameters for Port 2 (RS-232only).

AXB-EM232Enhanced MasterRS-232Controller

3

 

 

 

 

Product Information

Refer to the following table when setting the DIP switches.

Communication Parameters DIP 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

 

 

 

 

 

 

 

 

 

 

 

 

 

On

On

Off

On

On

Off

 

 

 

 

Unused

 

 

2,400

 

 

 

 

 

 

 

 

 

 

 

 

 

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

 

 

 

 

 

 

 

 

 

 

Wiring Devices to the AXB-EM232

The AXB-EM232hascaptive-wireconnectors on the rear panel(FIG. 1) for AXlink,RS-232,RS-

232, RS-422,and 12 VDC power.

Preparing 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 the screws excessively; doing so may strip the threads and damage the connector.

Using AXlink

Connect the AXlink wiring to the connector on the AXB-EM232,as shown inFIG. 3.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PWR

 

 

 

 

 

 

 

 

 

 

 

PWR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

AXlink

 

AXP

 

 

 

 

 

 

 

 

 

 

 

AXP

Device

 

AXM

 

 

 

 

 

 

 

 

 

 

 

AXM

 

GND

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 3 AXlink wiring

 

 

 

 

 

 

 

 

 

 

4

AXB-EM232Enhanced MasterRS-232Controller

 

 

 

Product Information

Using Ports 1 and 2 for RS-232data communication

1. Connect theRS-232wiring to Port 1, as shown inFIG. 4.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RX1

 

 

 

 

 

 

 

 

TX

Device

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TX1

 

 

 

 

 

 

 

 

RX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RS232/422

485EN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port 1

 

RX1-

 

 

 

 

 

not used

 

 

 

 

 

 

 

RX1+

 

 

 

 

 

 

 

 

 

 

 

TX1-

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TX1+

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 4 RS-232Port 1 wiring

2. Connect theRS-232wiring to Port 2, as shown inFIG. 5.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

 

GND

 

 

 

RX2

 

 

 

 

 

 

 

TX

Device

 

 

 

RS232

 

TX2

 

 

 

 

 

 

 

RX

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Port 2

CTS2

 

 

 

 

 

 

 

not used

 

 

 

 

 

 

 

 

 

 

 

RTS2

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 5 RS-232Port 2 wiring

 

 

 

 

 

 

3.Configure the AXB-EM232for hardware handshaking (request to send, clear to send) by connecting theRS-232wiring to Port 2, as shown inFIG. 6.

 

 

 

 

 

 

 

 

 

 

 

 

 

GND

 

 

 

 

 

 

GND

 

 

 

RX2

 

 

 

 

 

 

TX

 

 

 

 

RS232

 

TX2

 

 

 

 

 

 

RX

Device

 

 

 

 

 

 

 

 

 

 

 

Port 2

CTS2

 

 

 

 

 

 

RTS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RTS2

 

 

 

 

 

 

CTS

 

 

 

 

 

 

 

 

 

 

 

 

 

FIG. 6 RS-232Port 2 wiring for hardware handshaking

AXB-EM232Enhanced MasterRS-232Controller

5

 

 

 

 

Product Information

Using Port 1 for RS-422communication

Wire the AXB-EM232for communicating viaRS-422by connecting theRS-422wiring to Port 1, as shown inFIG. 7. RS-422communication is available only through Port 1.

 

 

GND

 

 

 

 

 

RX1

 

 

 

 

 

TX1

 

 

 

RS232/422

485EN

TX-

Device

Port 1

 

RX1-

 

 

 

 

RX1+

TX+

 

 

 

 

 

 

 

 

TX1-

RX-

 

 

 

 

 

 

 

 

TX1+

RX+

 

 

 

 

 

 

FIG. 7 RS-422Port 1 wiring

 

 

 

Using Port 1 for RS-485data communication

To wire the AXB-EM232for communicating viaRS-485,connect theRS-485wiring to Port 1, as shown inFIG. 8. RS-485communication is available only through Port 1. You must ground the 485EN pin.

 

GND

GND

 

 

 

RX1

 

 

TX1

 

RS232/422

485EN

Device

Port 1

RX1-

-

 

RX1+

+

 

 

TX1-

TX1+

FIG. 8 RS-485Port 1 wiring

Using the 12 VDC power supply

Connect the optional 12 VDC power supply to the two-wirepower connector to apply power, as

shown in FIG. 9.

 

 

 

 

 

 

PWR

 

+

+12 VDC

Power supply

-

GND

 

 

 

 

 

 

 

 

FIG. 9 12 VDC Power connector wiring

 

6

AXB-EM232Enhanced MasterRS-232Controller