
Page 6
RS-232/422 Interface
©
1994
AMX Corporation, 11995 Forestgate Drive, Dallas, Texas 75243 800/952-6995 FAX 972/907-2053
All trademarks contained in this document are the property of their respective owners.
SEND_STRING Escape Sequences
The AXB-232+ does not regard certain three-character combinations within a SEND_STRING
program as literal characters, but as commands. The following are those combinations.
Command: Function:
"27,17,<time in 100 microsecond increments 1-255>"
Sends a break character of the specified length of time.
"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 next characters to be transmitted.
Used in conjunction with the 'B9MON' command.
"27,19,<time in 1 millisecond increments 1-255>"
Inserts a delay before the next character to be transmitted.
"27,20,0"
Asserts RTS hardware handshake output high.
"27,20,1"
Asserts RTS hardware handshake output low.
AXCESS Program Characteristics
The AXB-232+ is capable of running AXCESS programs. It handles string processing,
relieving AXlink and the AXC-EM of the processing times
AXB-232+ Statements
The AXCESS program of the AXB-232+ communicate with the AXC-EM as Device 0. It
Device communicates with the RS232/422 Input/Output (I/O) of the AXB-232+ as Device 1.
Statement: Function:
CREATE_BUFFER 0,buffer Places strings that come from the AXC-EM into buffer. If no
CREATE_BUFFER 0, exists, the incoming strings from the
AXC-EM 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 AXC-EM.
CREATE_LEVEL 0,level,variable
Places levels sent by the AXC-EM for level in variable..
OFF[0,channel]
Sends a RELEASE to the AXC-EM.
Sends message that channel is off.
Executes RELEASE[0, channel] within AXB-232+.
OFF[1,channel]
Turns off channel. This command has no external effect. It
can be used as status.
ON[0,channel]
Sends a PUSH to the AXC-EM.
Sends a message that channel is on.
Executes PUSH[0, channel] within AXB-232+.
ON[1,channel]
Turns on channel. This command has no external effect. It
can be used as status.
SEND_COMMAND 0,command
Sends command to the AXC-EM.
SEND_COMMAND 1,command
Sends command to the AXB-232+ as if the AXC-EM had sent
it.
SEND_LEVEL 0,level,variable
Sends variable as the value for level level.
SEND_STRING 0,string
Sends string to the AXC-EM.
SEND_STRING 1,string
Sends string out the RS232 port.
Comentarios a estos manuales