Programming

Programming

Send_Commands

The AXC-232++ supports the same command set as the AXC-232. Figure 20 lists the AXC-232++

Send_Commands.

AXC-232++ Send_Commands

B9MOFF

Syntax:

Sets data bit mode to normal

'B9MOFF'

with DIP switch settings

Example:

(default).

SEND_COMMAND AXC232,'B9MOFF'

 

 

Sets the data bit mode to normal.

 

 

B9MON

Syntax:

Enables a special mode to

'B9MON'

override DIP switch settings.

The mode, nine data bits with one stop bit, overrides the data, stop, and parity

 

 

settings. When the AXC-232++ issues this command, it locks in the baud rate

 

determined by the current DIP switch setting.

 

Example:

 

SEND_COMMAND AXC232,'B9MON'

 

Overrides the DIP switch settings.

 

 

BAUDHIGH

Syntax:

Enables 115,200 baud rate

'BAUDHIGH'

when the DIP switch is set to

Example:

300 baud.

SEND_COMMAND AXC232,'BAUDHIGH'

 

 

Enables 115,200 baud rate.

 

 

BAUDLOW

Syntax:

Enables 300 baud rate when

'BAUDLOW'

the DIP switch is set to 300

Example:

baud setting (default).

SEND_COMMAND AXC232,'BAUDLOW'

 

 

Enables 300 baud rate.

 

 

BAUDMED

Syntax:

Enables 57,600 baud rate

'BAUDMED'

when the DIP switch is set to

Example:

300 baud.

SEND_COMMAND AXC232,'BAUDMED'

 

 

Enables 57,600 baud rate.

 

 

CB1ON

Syntax:

Enables placement of charac-

'CB1ON'

ters in the buffer specified by

Example:

CREATE_BUFFER 1

SEND_COMMAND AXC232,'CB1ON'

(default).

 

Enables placement of characters in the buffer.

 

 

CB1OFF

Syntax:

Disables placement of char-

'CB1OFF'

acters in the buffer specified

Example:

by CREATE_BUFFER 1.

SEND_COMMAND AXC232,'CB1OFF'

 

 

Disables placement of characters in the buffer.

 

 

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

9

 

 

 

 

Page 13
Image 13
AMX instruction manual Programming, AXC-232++ SendCommands