![background image](http://html.mh-extra.com/html/amx/axc-232/axc-232_instruction-manual_2937798010.webp)
Programming
6
AXC-232 RS-232/422/485 Card
Send_Strings
Use the Send_String commands to transmit characters in either ASCII, decimal, or hexadecimal
format. If any of the 3 character combinations in the table below are found anywhere within a
Send_String program instruction, they will be treated as a command and not the literal characters.
Send_String escape sequences
If it is necessary to send a string containing the sequences "27, 17", "27, 18", "27, 19" or "27, 20",
use two Send_String instructions. The first containing characters up to and including "27", the
second beginning with "17", "18", "19", "20" and all subsequent characters; for example, to send
the string "$1B, ’C’, 0, 27, 17, 13" use:
{
SEND_STRING <dev>,"$1B,'C',0,27"
SEND_STRING <dev>,"17,13"
}
Axcess Master Mode
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
:
<esc>
MC
- connects the device in Master Mode
<esc>
MD
- disconnects the device
where <esc> means "press the Esc key".
Send_Strings
"27, 17, <time>"
Sends a break character for the specified length of time.
Variable:
time = 1 - 255 in 100 microsecond increments
"27, 18, 1"
Sets the ninth data bit to 1 for all of the following characters to be transmitted.
Used in conjunction with the ’B9MON’ command.
"27, 18, 0"
Clears the ninth data bit to 0 for all of the following characters to be
transmitted. Used in conjunction with the ’B9MON’ command.
"27, 19, <time>"
Inserts a delay before the next character to be transmitted.
Variable:
time = 1 - 255 in 1 millisecond increments
"27,20,0"
Un-asserts RTS hardware handshake output high.
"27,20,1"
Asserts RTS hardware handshake output low.
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)).