AMX instruction manual AXC-232++ statements, AXC-232++ Program Statements

Models: AXC-232++

1 20
Download 20 pages 2.6 Kb
Page 17
Image 17
AXC-232++ statements

Programming

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

Places strings that come from the AXC-EM into buffer. If no

0,buffer

CREATE_BUFFER 0 exists, the incoming strings from the AXC-EM are sent

 

out the RS232 port.

 

 

CREATE_BUFFER

Places strings that come from the RS-232 port into buffer. If no

1,buffer

CREATE_BUFFER 1, exists, the incoming strings are sent to the AXC-EM.

 

 

CREATE_BUFFER

Places commands (i.e. SEND_COMMANDs) that come from the AXlink Master

2,buffer

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

Places levels sent by the AXC-EM for level in variable.

0,level,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

Sends command to the AXC-EM. Provides support for commands like 'RDS'.

0,command

 

 

 

SEND_COMMAND

Sends command to the AXC-232++ as if the AXC-EM had sent it.

1,command

 

 

 

SEND_COMMAND

Sets the baud rate to 115.2k (DIP switch set to 300).

AXC_232,

 

'BAUDHIGH'

 

 

 

SEND_COMMAND

Sets the baud rate to 300 (DIP switch set to 300).

AXC_232, 'BAUDLOW'

 

 

 

SEND_COMMAND

Enables placement of characters in the buffer specified by

AXC_232, 'CB1ON'

CREATE_BUFFER 1.

 

 

SEND_COMMAND

Disables placement of characters in the buffer specified by

AXC_232, 'CB1OFF'

CREATE_BUFFER 1.

 

 

SEND_LEVEL

Sends variable as the value for level..

0,level,variable

 

 

 

SEND_STRING

Sends string to the AXC-EM.

0,string

 

 

 

SEND_STRING

Sends string out the RS-232 port.

1,string

 

 

 

AXC-232++ RS-232/422/485 Interface Card

13

 

 

 

 

Page 17
Image 17
AMX instruction manual AXC-232++ statements, AXC-232++ Program Statements