Detailed instructions for use are in the User's Guide.
instruction manual
AXB-EM232
Enhanced Master RS-232 Controller
A x c e s s C e n t ra l C o n t r o l l e r s
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-EM232 Enhanced Master RS-232 Controller
i
Table of Contents
ii
AXB-EM232 Enhanced Master RS-232 Controller
Product Information
Product Information
Product Information
The AXB-EM232 Enhanced Master RS-232 Controller (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 a stand-alone device or with other AMX bus devices. The AXB-EM232 runs complete Axcess programs, and controls other AXlink components and two devices using RS-232 as a control protocol. It can also control devices using RS-422 and RS-485 protocols.
RS-232 Program DIP switch TX1/RX1 LEDs RS-232/422 DIP switches (1 and 2)
RS-232 / 422 TX2
RS-232 Program port
AXlink Status LED
AXlink
RS-232
TX1
TX2/RX2 LEDs
PROGRAM PROGRAM RX1 1 ON 2 RX2
485EN
RTS2
CTS2
RS-232
RS-232 / 422
AXlink
PWR
GND
GND
GND
AXM
RX2
RX1
TX2
TX1
RX
RX
TX
TX
AXP
12VDC
V
PWR
Port 2 (RS-232 only)
Port 1 (RS-232/422/485)
AXlink connector
Power supply connector (2-pin)
FIG. 1 AXB-EM232 Front and rear panel components
AXB-EM232 Enhanced Master RS-232 Controller
1
Product Information
Specifications
The following table lists the specifications for the AXB-EM232. AXB-EM232 Product Specifications
Power 12 VDC, 160 mA · Data bits: 7 or 8 · Stop bits: 1 or 2 · Parity: None, Odd, Even, Mark, or Space Memory 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-on indicates the following conditions: There is no AXlink control or activity, but power is on. The Axcess program is not loaded. RS-232 Program connector RS-232 Program DIP switch TX1 and RX1 LEDs This DB-9 RS-232 connector is used for AMX programming tools, such as Axcess and IRLIB. The 8-position DIP switch configures the communication parameters for the Program port. The red LEDs indicate that the AXB-EM232 is receiving (RX) or transmitting (TX) RS-232, RS-422, or RS-485 data. RX1 and TX1 correspond to Port 1 on the rear panel (See Rear Panel Components for a description of Port 1). The two 8-position DIP switches configure the communication parameters for the Ports 1 and 2 (See Rear Panel Components for a description of Ports 1 and 2). The red LEDs indicate that the AXB-EM232 is receiving (RX) or transmitting (TX) RS-232 data. RX2 and TX2 correspond to Port 2 (See Rear Panel Components for a description of Port 2). 64 KB battery protected memory, expandable to 256 KB Asynchronous data communication · Baud rates: 300, 600, 1200, 2400, 4800, 9600, 19200, or 38400
RS-232/422 1 and 2 DIP Switches TX2 and RX2 LEDs
Rear Panel Components: Ports 1 and 2 AXlink connector Power supply connector Enclosure Dimensions (HWD) Weight Mounting options Optional Accessories: Power Supply Mounting Hardware · PSN2.8 (FG423-05) · PSN6.5 Domestic (FG423-41), International (FG423-43) AC-RK Accessory Rack Kit (FG515) There are two serial connectors: Port 2 is a 6-wire RS-232 captive-wire connector; Port 1 is an 8-wire RS-232/422 captive wire connector. The AXlink connector is a 4-wire, captive-wire connector for data and power. The PWR connector is a 2-wire, captive-wire connector for the 12 VDC power supply. Non-glare, high-impact black plastic 1.5" x 5.6" x 6.5" (3.8 cm x 14.1 cm x 16.4 cm) 1.1 lbs (501.7 g) Rack mounting with the optional AC-RK Accessory Rack Kit
2
AXB-EM232 Enhanced Master RS-232 Controller
Product Information
Installation
Setting the internal jumpers Some RS-232 devices 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-pin power 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-3 and place it on pins 1-2 (FIG. 2).
100 E1 12 3 12 3 12 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-wire power connector. Setting DIP switches Configure the device and programming communication ports' baud rate, data bits, stop bits, and parity. Use the eight-position DIP switches on the front panel to set the communications parameters.
!
RS-232 PROGRAM DIP switch - Use the eight-position RS-232 Program DIP switch to set the communications parameters for the PROGRAM port. RS-232/422 DIP switches - Use the two eight-position RS232/422 DIP switches to set communications parameters for controlling the RS-232, RS-422, or RS-485 devices.
!
!
·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-232 only).
!
AXB-EM232 Enhanced Master RS-232 Controller
3
Product Information
Refer to the following table when setting the DIP switches. Communication Parameters DIP Switch Settings
Switch 1 2 3 4 Parity Off Off Unused On Off Unused Off On Unused On On Unused Off Off Mark On Off Even Off On Odd On On None On On On Off On On On Off Off On Off Off Off On Off Off 5 6 7 Baud Rates Off 300 Off 600 On 1,200 On 2,400 Off 4,800 Off 9,600 On 19,200 On 38,400 On On On On Off Off Off Off 8 Function Stop Bits Data Bits Setting Value Off 2 bits On 1 bit Off 7 bits On 8 bits
Wiring Devices to the AXB-EM232
The AXB-EM232 has captive-wire connectors on the rear panel (FIG. 1) for AXlink, RS-232, RS232, 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 in FIG. 3.
PWR AXP AXlink AXM GND FIG. 3 AXlink wiring PWR AXP AXM GND Device
4
AXB-EM232 Enhanced Master RS-232 Controller
Product Information
Using Ports 1 and 2 for RS-232 data communication 1. Connect the RS-232 wiring to Port 1, as shown in FIG. 4.
GND RX1 TX1 RS232/422 485EN Port 1 RX1RX1+ TX1TX1+ FIG. 4 RS-232 Port 1 wiring not used GND TX RX Device
2. Connect the RS-232 wiring to Port 2, as shown in FIG. 5.
GND RX2 RS232 Port 2 TX2 not used GND TX RX Device
CTS2 RTS2 FIG. 5 RS-232 Port 2 wiring
3. Configure the AXB-EM232 for hardware handshaking (request to send, clear to send) by connecting the RS-232 wiring to Port 2, as shown in FIG. 6.
GND RX2 RS232 Port 2 TX2 GND TX RX Device
CTS2 RTS2
RTS CTS
FIG. 6 RS-232 Port 2 wiring for hardware handshaking
AXB-EM232 Enhanced Master RS-232 Controller
5
Product Information
Using Port 1 for RS-422 communication Wire the AXB-EM232 for communicating via RS-422 by connecting the RS-422 wiring to Port 1, as shown in FIG. 7. RS-422 communication is available only through Port 1.
GND RX1 TX1 RS232/422 485EN Port 1 RX1RX1+ TX1TX1+ FIG. 7 RS-422 Port 1 wiring TXTX+ RXRX+ Device
Using Port 1 for RS-485 data communication To wire the AXB-EM232 for communicating via RS-485, connect the RS-485 wiring to Port 1, as shown in FIG. 8. RS-485 communication is available only through Port 1. You must ground the 485EN pin.
GND RX1 TX1 RS232/422 485EN Port 1 RX1RX1+ TX1TX1+ FIG. 8 RS-485 Port ...