Send_strings, Xmodem timing commands – AMX Enhanced Master RS-232 Controller AXB-EM232 User Manual

Page 14

Advertising
background image

Programming

10

AXB-EM232 Enhanced Master RS-232 Controller

Send_Strings

This device also has some special Send_String escape sequences. If any of the three-character

combinations in the following table are found anywhere within a Send_String program instruction,

they will be treated as a command and not the literal characters.

Xmodem timing commands

The following table lists the AXB-EM232 Xmodem timing commands. Xmodem timeouts and

retries exist to accommodate potential Ethernet delays and for consistency among and within

products.

Any of the above will change timing for Axcess code download as well as firmware upgrades.

Send_String sequences

"27,17,<time in 100 microsecond increments 1-255>" Sends a break character of the specified length of

time.

"27,18,1"

Sets the 9 data bit to 1 for all subsequent characters
to be transmitted. Used with the 'B9MON' com-
mand.

"27,18,0"

Clears the 9 data bit to 0 for all subsequent charac-
ters to be transmitted. Used with the 'B9MON' com-
mand.

"27,19,<time in 1 millisecond increments 1-255>"

Inserts a delay before the next character to be
transmitted.

"27,20,0"

Unasserts RTS hardware handshake output high
(Device 2).

"27,20,1"

Asserts RTS hardware handshake output low
(Device 2).

Xmodem timing commands

'TIMEOUT XX'

Xmodem timeouts - via the Program Port (default = 10 sec.)

SEND_COMMAND SERIAL, 'XMTO XX' Over AXlink; where XX is from one to 50 seconds in 1-second

increments.

'RETRY XX'

Xmodem retries - via the Program Port (default = 5).

SEND_COMMAND SERIAL, 'XMRT XX' Over AXlink; where XX is from one to 10 in increments of one.

Advertising