Axc-232++ Statements - AMX RS-232/422/485 Interface Card AXC-232++ Instruction Manual

Amx corporation rs-232/422/485 interface card instruction manual
Hide thumbs Also See for RS-232/422/485 Interface Card AXC-232++:
Table of Contents

Advertisement

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
CREATE_BUFFER
0,buffer
CREATE_BUFFER
1,buffer
CREATE_BUFFER
2,buffer
CREATE_LEVEL
0,level,variable
OFF[0,channel]
OFF[1,channel]
ON[0,channel]
ON[1,channel]
SEND_COMMAND
0,command
SEND_COMMAND
1,command
SEND_COMMAND
AXC_232,
'BAUDHIGH'
SEND_COMMAND
AXC_232, 'BAUDLOW'
SEND_COMMAND
AXC_232, 'CB1ON'
SEND_COMMAND
AXC_232, 'CB1OFF'
SEND_LEVEL
0,level,variable
SEND_STRING
0,string
SEND_STRING
1,string
AXC-232++ RS-232/422/485 Interface Card
Function
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.
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.
Places commands (i.e.
SEND_COMMANDs
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 AXC-EM for level in variable.
• Sends a RELEASE to the AXC-EM.
• Sends message that channel is off.
Turns off a channel. This command has no external effect. It can be used as
status.
• Sends a PUSH to the AXC-EM.
• Sends a message that channel is on.
Turns on channel. This command has no external effect. It can be used as sta-
tus.
Sends command to the AXC-EM. Provides support for commands like
Sends command to the AXC-232++ as if the AXC-EM 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
.
Sends variable as the value for level..
Sends string to the AXC-EM.
Sends string out the RS-232 port.
Programming
) that come from the AXlink Master
'RDS'
.
13

Advertisement

Table of Contents
loading

Table of Contents