User manual
Table Of Contents

Programming
13
A
XC-232++ RS-232/422/485 Interface Card
AXC-232++ statements
The Axcess program of the AXC-232++ communicates with the AXC-EM as Device 0. Its device
communicates with the RS232/422 Input/Output (I/O) of the AXC-232++ as Device 1. The
following table lists AXC-232++ statements.
AXC-232++ Program Statements
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_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).
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.
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 AXC-EM.
• Sends a message that channel is on.
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 AXC-EM. Provides support for commands like 'RDS'.
SEND_COMMAND
1,command
Sends command to the AXC-232++ as if the AXC-EM had sent it.
SEND_COMMAND
AXC_232,
'BAUDHIGH'
Sets the baud rate to 115.2k (DIP switch set to 300).
SEND_COMMAND
AXC_232, 'BAUDLOW'
Sets the baud rate to 300 (DIP switch set to 300).
SEND_COMMAND
AXC_232, 'CB1ON'
Enables placement of characters in the buffer specified by
CREATE_BUFFER 1.
SEND_COMMAND
AXC_232, 'CB1OFF'
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 AXC-EM.
SEND_STRING
1,string
Sends string out the RS-232 port.