






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:
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.


ii AXB-EM232 Enhanced Master RS-232 Controller
Table of Contents

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.

DIP switches (1 and 2)
Power supply connector (2-pin)
FIG. 1 AXB-EM232 Front and rear panel components

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

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

FIG. 2 Communication jumpers
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).

Refer to the following table when setting the DIP switches.

The AXB-EM232 has captive-wire connectors on the rear panel (FIG. 1) for AXlink, RS-232, RS- 232, RS-422, and 12 VDC power.
Do not tighten the screws excessively; doing so may strip the threads and damage the connector.
Connect the AXlink wiring to the connector on the AXB-EM232, as shown in FIG. 3.
PWR
AXP
AXP
AXM
AXM
FIG. 3 AXlink wiring
AXlink Device

TX
RX
TX1
RS232/422
485EN
RX1-
RX1+
TX1-
TX1+
FIG. 4 RS-232 Port 1 wiring
TX
TX2
RX
RS232
CTS2
RTS2
FIG. 5 RS-232 Port 2 wiring
TX
TX2
CTS2
RTS
RTS2
CTS
FIG. 6 RS-232 Port 2 wiring for hardware handshaking

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.
TX1
485EN
RX1-
TX-
TX+
RX1+
TX1-
RX-
TX1+
RX+
FIG. 7 RS-422 Port 1 wiring
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.
TX1
RS232/422
485EN
RX1-
RX1+
TX1-
TX1+
FIG. 8 RS-485 Port 1 wiring
Connect the optional 12 VDC power supply to the two-wire power connector to apply power, as shown in FIG. 9.
PWR
FIG. 9 12 VDC Power connector wiring

Use either an AMX RS-232 cable (FG 10-726 ) for a DB-25 connector or AMX Programming cable (FG10-727) for a DB-9 port to connect your PC to the AXB-EM232 and download the Axcess program. Do not use a null modem cable.
Only an AMX Programming cable or equivalent is to be used due to the voltage on pins 4 and 7. Failure to do so could damage the com port on a PC.
The AXB-EM232's two lithium batteries each have a life of approximately 5 years to protect its memory. When DC power is on, the batteries are not used. When you install the AXB-EM232, record for future reference the date the batteries should be replaced. When you replace the batteries (FIG. 10), remove one battery at a time to avoid losing the program in memory.
All data in the AXB-EM232 memory will be lost if you are not timely in replacing the batteries.
Before removing the batteries, contact your AMX dealer and verify that they have a current copy of your program. This will avoid any inadvertent loss of data and prevent an unnecessary service outage..
FIG. 10 Lithium battery and socket
There is a danger of explosion if you replace the bat-teries incorrectly. Replace batteries with the same or equivalent type recommended by the manufacturer. Dispose of used batteries according to the manufacturer's instructions. Never recharge, dis-assemble, or heat the battery above 212°F (100°C). Never solder directly to the battery or expose the contents of the battery to water.

To rack-mount the AXB-EM232 using an (optional) AC-RK Accessory Rack Kit:

Use the NetLinx Studio software program to create and edit an Axcess Control program for the AXB-EM232:
! The AXB-EM232 occupies address 0.
! Port 1 is AXlink Device 1, and Port 2 is AXlink Device 2.
! To communicate directly with the AXB-EM232, use Terminal Emulation mode.
! To display a list of the commands in the Terminal Emulation mode, type help or ? and
press ENTER.
! For online help while in Axcess, press F6.
Program the AXB-EM232 as you would the AXC-EM Enhanced Master Card.
The following table lists the Send_Commands for the AXB-EM232.
'RXON' Enables the card to send incoming received characters to the Master. This com- mand is automatically sent by the Master when a 'CREATE_BUFFER' com- mand is executed.
'RXOFF' The card will not pass on received characters to the Master (default).
'RXCLR' Any characters in the receive buffer waiting to be sent to Master will be cleared.
'TXCLR' Any characters waiting in the transmit out buffer will be cleared and transmis- sion will stop.
'B9MON' Enables a special 9 data bits with 1 stop bit mode, which overrides the DIP switch settings for number of data, stop, and parity bits. The baud rate is locked on at the current DIP switch setting on issuance of this command.
'B9MOFF' Sets data bits mode to normal with DIP switch setting (default).
'HSOFF' Disables hardware handshaking (default). (Device 2 only)
'HSON' Enables hardware handshaking. (Device 2 only)
'XOFF' Disables software handshaking (default).
'XON' Enables hardware handshaking.
'CHARD <time in 100 microsecond increments 0-255>'
Sets delay between all transmitted characters to that specified.
Example:
Sets 1 ms delay between all transmitted characters.
'CHARDM <time in millisecond increments 0-255>'
Sets delay between all transmitted characters to that specified.
Example:
Sets 10 ms delay between all transmitted characters.
'CTSPSH' Enables PUSHes and RELEASEs and status on Device 2 channel 255 for CTS hardware handshake input. If CTS is high, then channel is on.
Programming

This device also has some special Send_String escape sequences. If any of the three-character combinations in the following table are found anywhere within a Send_String program instruction, they will be treated as a command and not the literal characters.
"27,17,<time in 100 microsecond increments 1-255>" Sends a break character of the specified length of
time.
"27,18,1" Sets the 9 data bit to 1 for all subsequent characters to be transmitted. Used with the 'B9MON' com- mand.
"27,18,0" Clears the 9 data bit to 0 for all subsequent charac- ters to be transmitted. Used with the 'B9MON' com- mand.
"27,19,<time in 1 millisecond increments 1-255>" Inserts a delay before the next character to be transmitted.
"27,20,0" Unasserts RTS hardware handshake output high (Device 2).
"27,20,1" Asserts RTS hardware handshake output low (Device 2).
The following table lists the AXB-EM232 Xmodem timing commands. Xmodem timeouts and retries exist to accommodate potential Ethernet delays and for consistency among and within products.
'TIMEOUT XX' Xmodem timeouts - via the Program Port (default = 10 sec.)
SEND_COMMAND SERIAL, 'XMTO XX' Over AXlink; where XX is from one to 50 seconds in 1-second
increments.
'RETRY XX' Xmodem retries - via the Program Port (default = 5).
SEND_COMMAND SERIAL, 'XMRT XX' Over AXlink; where XX is from one to 10 in increments of one.
Any of the above will change timing for Axcess code download as well as firmware upgrades.
Programming

Programming

032-004-1013 10/03 ©2003 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.
AMX reserves the right to alter specifications without notice at any time.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.