
AXlink Bus Controllers




ii AXB-232++ RS-232/422/485 Interface
Table of Contents

The AXB-232++ RS-232/422/485 Interface is an AXlink bus controller that provides remote control for devices that require a variety of control protocols. The AXB-232++ extends RS-232, RS-422, or RS-485 control to remote sources over the 4-wire AXlink 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.
FIG. 1 displays the front panel of the AXB-232++.

FIG. 1 AXB-232++ front panel
FIG. 2 displays the rear panel of the AXB-232++.

FIG. 2 AXB-232++ rear panel
Product Information

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

The AXB-232++ can be used as an independent RS-232/422/485-controlled interface by setting the internal jumpers. Configure the communication parameters using the DIP switches on the front panel.
JP5
CORP.
FIG. 3 Location of internal jumpers
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:
Internal jumper JP4 · Internal jumper JP5 · front

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.
Set the device number on DEVICE DIP switch, located on the front of the AXB-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:
z Cards 1 through 95
z Boxes 96 through 127
z 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.

Set the stop bits, data bits, parity, and baud rate on the RS-232/422 DIP switch, located on the front panel (see FIG. 1 on page 1). The AXB-232++ supports the following asynchronous data standards:
z Stop bits 1 and 2
z Data bits 7, 8, and 9
z Parity None, Odd, Even, Mark, and Space
z Baud rates 300, 600, 1,200, 2,400, 4,800, 9,600, 19,200 and 38,400.
z 57,600 is achieved by setting the DIP switch to 300 baud, and using the
’BAUDMED’ Send_Command (see the Send_Commands section on page 9 for details).
z 115,200 is achieved by setting the DIP switch to 300 baud, and using the
’BAUDHIGH’ Send_Command (see the Send_Commands section on page 9 for details).
The table below shows the RS-232/422 DIP switch numbers, functions, and their corresponding values.


To connect the wiring into a captive-wire connector:
If the device is using a separate power supply, do not connect the power wiring from the AXB-232++ to that device.
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.
Connect the AXlink wiring to the connector on the AXB-232++ as shown in FIG. 4.
PWR AXP AXM GND
FIG. 4 AXlink bus and +12 VDC power wiring
Connect the AXlink and power wiring to the connector on the AXB-232++ as shown in FIG. 5.
PWR AXP AXM GND
+12 VDC GND
FIG. 5 AXlink bus and +12 VDC power wiring
AXlink System · AXlink System · Power Supply

When communicating via RS-232, connect the wiring as shown in FIG. 6.
RX
TX
+12V
TX - RX + RX -
TX +
FIG. 6 RS-232 wiring
When the controlled device requires hardware handshaking, connect the wiring as shown in FIG. 7.
FIG. 7 Hardware handshaking wiring
When communicating via RS-422, connect the wiring as shown in FIG. 8.
TX
+12V GND
RXTX+ TX-
TX - RX + RX -
TX +
RX+
FIG. 8 RS-422 wiring
When communicating via RS-485, connect the wiring as shown in FIG. 9.
TX
+12V
Device TX - RX + RX -
FIG. 9 RS-485 wiring
GND AXB- 232++ Device · AXB-232++ Device · AXB- 232++ Device

To rack-mount the AXB-232++ into the optional AC-RK Accessory Rack Kit:
The AXB-232++’s lithium batteries 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-232++, record the date the batteries should be replaced.
There is a danger of explosion if you replace the batteries incorrectly. Replace batteries with the same or equivalent type recommended by the manufacturer. Dispose of the used batteries according to the manufacturer’s instructions. Never recharge, disassemble, or heat batteries above 212°F (100°C). Never solder directly to the batteries or expose the contents of the batteries to water.
Before removing the lithium batteries, contact your dealer and verify that they have a current copy of your program to avoid an inadvertent loss of data and prevent an unnecessary service outage.
Battery (CR2032 type - 20mm coin cell)
FIG. 10 Lithium battery and socket
socket

The AXB-232++ supports the same command set as the AXC-232. The following table lists the AXB-232++ Send_Commands.
B9MOFF
Syntax:
Sets data bit mode to normal with DIP switch settings (default).
Example:
Sets the data bit mode to normal.
Syntax:
Enables a special mode to override DIP switch settings.
The mode, nine data bits with one stop bit, overrides the data, stop, and parity settings. When the AXB-232++ issues this command, it locks in the baud rate determined by the current DIP switch setting.
Example:
Overrides the DIP switch settings.
Syntax:
Enables 115,200 baud rate when the DIP switch is set to 300 baud.
Example:
Enables 115,200 baud rate.
Syntax:
Enables 300 baud rate when the DIP switch is set to 300 baud setting (default).
Example:
Enables 300 baud rate.
Syntax:
Enables 57,600 baud rate when the DIP switch is set to 300 baud.
Example:
Enables 57,600 baud rate.
Syntax:
Enables placement of charac- ters in the buffer specified by CREATE_BUFFER 1 (default).
Example:
Enables placement of characters in the buffer.
Syntax:
Disables placement of char- acters in the buffer specified by CREATE_BUFFER 1.
Example:
Disables placement of characters in the buffer.

CHARD
Syntax:
Sets delay between all transmitted characters to the increment specified.
Variable:
time = 100 microsecond increments 0 - 255.
Example:
Sets 1mS delay between all transmitted characters.
Syntax:
Enables PUSHes and RELEASEs.
Example:
Enables PUSHes, RELEASEs, and status on channel 255 ([0,255] within the AXB-232++) for CTS hardware handshake input. If CTS is high, the channel is on.
Syntax:
Disables the 'CTSPSH' command.
Example:
Disables the 'CTSPSH' command.
Syntax:
Disables the 'EON ' command (default).
Example:
Disables the 'EON' command.
Syntax:
Forces the AXB-232++ to ignore the transmitted char- acters on its receiver.
Example:
Forces the AXB-232++ to ignore the transmitted characters on its receiver. When using RS-485, the transmitter and receiver are tied together.
Syntax:
Disables hardware handshaking (default).
Example:
Enables placement of characters in the buffer.
Syntax:
Disables placement of char- acters in the buffer specified by CREATE_BUFFER 1.
Example:
Enables hardware handshaking.
Syntax:
Clears any characters in the Receive buffer waiting to be sent to the Master.
Example:
Clears any characters in the Receive buffer waiting to be sent to the master. If 'RXCLR' is sent while RTS is low, RTS returns high.
'CHARD-'

RXOFF
Syntax:
AXB-232++ does not pass on received characters to the Master (default).
Example:
AXB-232++ does not pass on received characters to the master.
Syntax:
Enables AXB-232++ to send incoming characters received to the Master.
Example:
Enables AXB-232++ to send incoming characters received to the master.
The AXB-EM automatically sends this command to the AXB-232++ when it executes a 'CREATE_BUFFER' program instruction.
Syntax:
Clears and stops any charac- ters waiting in the Transmit buffer.
Example:
Clears and stops any characters waiting in the Transmit buffer.
Syntax:
Disables software handshaking (default).
Example:
Disables software handshaking.
Syntax:
Enables software handshaking.
Example:
Enables software handshaking.
Syntax:
Clears the Axcess program in the AXB-232++.
Example:
Clears the Axcess program in the AXB-232++.
The AXB-232++ is capable of running Axcess programs. It handles string processing, relieving AXlink and the Master of the processing times.

The AXB-232++ does not regard certain three-character combinations within a Send_String program as literal characters, but as commands. The following table lists those combinations.
Syntax:
Sends a break character of the specified length of time.
Variable:
time = 100 microsecond increments 1 - 255.
Example:
Sends a break character of 1mS.
Syntax:
Sets the ninth data bit to 1 for all of the following characters to be transmitted.
Example:
Sets the ninth data bit to 1 for all of the following characters to be transmitted. Used in conjunction with the 'B9MON' command.
Syntax:
Clears the ninth data bit to 0 for all of the next characters to be transmitted.
Example:
Clears the ninth data bit to 0 for all of the next characters to be transmitted. Used in conjunction with the 'B9MON' command.
Syntax:
Inserts a delay before the next character to be transmitted.
Variable:
time = 100 microsecond increments 1 - 255.
Example:
Inserts a 1mS delay before the next character to be transmitted.
Syntax:
Asserts RTS hardware hand- shake output high.
Example:
Asserts RTS hardware handshake output high.
Syntax:
Asserts RTS hardware hand- shake output low.
Example:
Asserts RTS hardware handshake output low.

The Axcess program of the AXB-232++ communicates with the master as Device 0. Its device communicates with the RS232/422 Input/Output (I/O) of the AXB-232++ as Device 1. The following table lists AXB-232++ statements.
CREATE_BUFFER 0,buffer Places strings that come from the Master into buffer. If no CREATE_BUFFER 0 exists, the incoming strings from the Master are sent out the RS232 port.
CREATE_BUFFER 1,buffer Places strings that come from the RS-232 port into buffer. If no CREATE_BUFFER 1, exists, the incoming strings are sent to the Master.
CREATE_BUFFER 2,buffer Places commands (i.e. SEND_COMMANDs) that come from the AXlink Master into the buffer. Each command will be preceded by 2 characters: The first char- acter will always be an '*', the second character is the length of the command, the remaining n characters (as given in the second character) are the command itself.
Places levels sent by the master for level in variable.
OFF[0,channel] • Sends a RELEASE to the Master.
OFF[1,channel] Turns off a channel. This command has no external effect. It can be used as status.
ON[0,channel] • Sends a PUSH to the Master.
ON[1,channel] Turns on channel. This command has no external effect. It can be used as sta- tus.
SEND_COMMAND 0,command Sends command to the Master. Provides support for commands like 'RDS'.
SEND_COMMAND 1,command Sends command to the AXB-232++ as if the Master had sent it.
Sets the baud rate to 115.2k (DIP switch set to 300).
Sets the baud rate to 300 (DIP switch set to 300).
Enables placement of characters in the buffer specified by CREATE_BUFFER 1.
Disables placement of characters in the buffer specified by CREATE_BUFFER 1.
SEND_LEVEL 0,level,variable Sends variable as the value for level.
SEND_STRING 0,string Sends string to the Master.
SEND_STRING 1,string Sends string out the RS-232 port.
Statement Function · CREATE_LEVEL 0,level,variable

The following table lists the AXB-232++ Xmodem timing commands. Xmodem timeouts exist to accommodate potential Ethernet delays and for consistency among and within products. Any Xmodem timing command will change timing and retries for Axcess code download as well as Softrom transfer.
'TIMEOUT XX' Xmodem timeouts via the Program Port. (Default is 10 sec.)
Over AXlink, where XX is from one to 50 seconds in 1-second increments.
'RETRY XX' Xmodem retries via the Program Port. (Default is 5.)
Over AXlink where XX is from one to 10 in increments of one.
The following table lists the AXlink Master statements for the AXB-232++.
MIN_TO Activates a channel or variable for a minimum amount of time-even if the corre- sponding device-channel is released. The time duration is determined by SET_PULSE_TIME.
Executes PUSH[0,channel] within AXB-232++.
Executes RELEASE[0,channel] within AXB-232++.
PULSE Turns on a channel or variable for a certain amount of time. Once the time elapses, the channel or variable is turned off. The Pulse time remains the same value until it is changed within the program.
Example:
Sets the current duration of future Pulses to 1.2 seconds.
AXB-232++ interprets command.
SEND_LEVEL AXB_232,level, variable
Places the variable into the CREATE_LEVEL variable, if it were defined in the AXB-232++ DEFINE_START section.
Places the string into the CREATE_BUFFER buffer, if you defined the buffer in the AXB-232++ DEFINE_START section. If it were not, this command trans- mits the string out the RS-232 port.
TO Activates a channel or variable for as long as the corresponding device-channel of its Push statement is activated. When the device-channel referenced by the Push statement changes from off to on, the TO starts activat- ing the device-channel or variable in the brackets following it. When the device-channel of its Push is released, the TO statement stops activating its device-channel or variable. For this reason, TO must be found only underneath a Push statement.

The following table lists the channels reserved on Device 0.
Channel 254 This is only valid within the device and is not sent to the AXlink Master. Reflects AXlink status:
Channel 255 Reflects the state of the CTS input. If the AXB-232++ receives a 'CTSPSH' command, it generates PUSHes for both the Master and the AXB-232++.
When an Axcess device is placed in "Master Mode", the Central Controller’s PROGRAM port is moved to the Axcess device’s RS-232 port.
Press the escape key, then type either MC or MD:
z MC - connects the device in Master Mode
z MD - disconnects the device
where means "press the Esc key".
Master Mode can be very useful in situations where physical access to the Central Controller’s PROGRAM port is not practical (for example, in installations where the Central Controller is located a long distance from the bus device(s)).
Channel Function

032-004-1718 9/05 ©2005 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. In Canada doing business as Panja Inc.
AMX reserves the right to alter specifications without notice at any time.
Pages referenced in this manual — manufacturer, support and downloads.
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.