Send_string escape sequences – AMX AXlink Bus Controllers AXB-232++ User Manual

Page 16

Advertising
background image

Programming

12

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

Send_String Escape Sequences

The AXB-232++ does not regard certain three-character combinations within a Send_String

program as literal characters, but as commands. The following table lists those combinations.

Send_String Escape Sequences

27,17,<time>

Sends a break character of
the specified length of time.

Syntax:

"27,17,<time>"

Variable:

time = 100 microsecond increments 1 - 255.

Example:

SEND_STRING AXB232,"27,17,10"

Sends a break character of 1mS.

27,18,1

Sets the ninth data bit to 1 for
all of the following characters
to be transmitted.

Syntax:

"27,18,1"

Example:

SEND_STRING AXB232,"27,18,1"

Sets the ninth data bit to 1 for all of the following characters to be transmitted.
Used in conjunction with the 'B9MON' command.

27,18,0

Clears the ninth data bit to 0
for all of the next characters
to be transmitted.

Syntax:

"27,18,0"

Example:

SEND_STRING AXB232,"27,18,0"

Clears the ninth data bit to 0 for all of the next characters to be transmitted.
Used in conjunction with the 'B9MON' command.

27,19,<time>

Inserts a delay before the
next character to be
transmitted.

Syntax:

"27,19,<time>"

Variable:

time = 100 microsecond increments 1 - 255.

Example:

SEND_COMMAND AXB232,"27,19,10"

Inserts a 1mS delay before the next character to be transmitted.

27,20,0

Asserts RTS hardware hand-
shake output high.

Syntax:

"27,20,0"

Example:

SEND_COMMAND AXB232,"27,20,0"

Asserts RTS hardware handshake output high.

27,20,1

Asserts RTS hardware hand-
shake output low.

Syntax:

"27,20,1"

Example:

SEND_COMMAND AXB232,"27,20,1"

Asserts RTS hardware handshake output low.

Advertising