beautypg.com

AMX AXlink Bus Controllers AXB-232++ User Manual

Page 14

background image

Programming

10

AXB-232++ RS-232/422/485 Interface

AXB-232++ Send_Commands (Cont.)

CHARD

Sets delay between all
transmitted characters to the
increment specified.

Syntax:

'CHARD-

Variable:

time = 100 microsecond increments 0 - 255.

Example:

SEND_COMMAND AXB232,'CHARD-10'

Sets 1mS delay between all transmitted characters.

CTSPSH

Enables PUSHes and
RELEASEs.

Syntax:

'CTSPSH'

Example:

SEND_COMMAND AXB232,'CTSPSH'

Enables PUSHes, RELEASEs, and status on channel 255 ([0,255] within the
AXB-232++) for CTS hardware handshake input. If CTS is high, the channel is
on.

CTSPSHF

Disables the 'CTSPSH'
command.

Syntax:

'CTSPSHF'

Example:

SEND_COMMAND AXB232,'CTSPSHF'

Disables the 'CTSPSH' command.

EOFF

Disables the 'EON '
command (default).

Syntax:

'EOFF'

Example:

SEND_COMMAND AXB232,'EOFF'

Disables the 'EON' command.

EON

Forces the AXB-232++ to
ignore the transmitted char-
acters on its receiver.

Syntax:

'EON'

Example:

SEND_COMMAND AXB232,'EON'

Forces the AXB-232++ to ignore the transmitted characters on its receiver.
When using RS-485, the transmitter and receiver are tied together.

HSOFF

Disables hardware
handshaking (default).

Syntax:

'HSOFF'

Example:

SEND_COMMAND AXB232,'HSOFF'

Enables placement of characters in the buffer.

HSON

Disables placement of char-
acters in the buffer specified
by CREATE_BUFFER 1.

Syntax:

'HSON'

Example:

SEND_COMMAND AXB232,'HSON'

Enables hardware handshaking.

RXCLR

Clears any characters in the
Receive buffer waiting to be
sent to the Master.

Syntax:

'RXCLR'

Example:

SEND_COMMAND AXB232,'RXCLR'

Clears any characters in the Receive buffer waiting to be sent to the master. If
'RXCLR' is sent while RTS is low, RTS returns high.