Digi-Star EZII Escape Computer Command Set User Manual

Page 7

Advertising
background image

EZII Escape Computer Command Set

7

D36 48 Rev G

November 30, 2009

Message Commands:
There are two message commands, "Gm" and "Cm". Most messages should be sent using the "Gm"
command. The "Cm" command can only be used with the "Control Mode" (CcE) command described later.

Gm - General Message Command:
This command allows an alpha-numeric message (up to 60 characters in length) to be displayed on the
indicator. No additional computer interface commands should be sent while the message is being displayed
or the message will be terminated. The operator can also terminate any messages being displayed by
pressing a key on the front panel of the indicator.

The Message command can be used with the Keyboard Lock command to instruct the operator to "PRESS
THE PRINT KEY WHEN FINISHED". All keys will perform there proper function except the ON key.
Pressing the key will simply return the unit to weighing.

This command includes the following information:

Start new command:

<ESC>

Command identifier:

Gm

Message display interval:

nn (nn can be a number from 00 to 99, must be 2 digits)

For messages longer than 6 characters:

nn = stands for the number times to scroll messages.

For messages 6 characters or less:

nn = stands for number of seconds to display the message.

When nn is set to a value of 00 then the message will scroll until a key
is pushed on the indicator. Please note, a value of 00 is only valid on
messages longer than 6 characters.

Start of Message:

<STX> = start of the text = hex value 2 in the ASCII character set

Message:

Must be 1 to 60 characters long. If the message is less than six characters the
value will appear on the right side of the display. Valid characters may not
be less than the Space " " (hex value 20) character and may not be greater
than the "z" (hex value 7A) character of the ASCII character set. Valid
characters are from 20 hexi-decimal to 7A hexi-decimal.
Note: The character "$" will show up as a "l" (small character L ) on the
indicator display since the "$" character is a special character used for
Lock-On weigh mode.
Note: Lower case characters will be printed as lower case characters however
they appear as UPPER case characters on the scale's display.

End of command:

<EOT>

Message Command Response:
If the command is completed successfully, then the <ACK> (Hex value 0x06) character will be returned
after receiving the command

AND AGA IN AFTER THE MESSAGE HAS FINISHED SCROLLING OR THE DISPLAY

TIME HAS ELAPSED

. If the command fails, the <NAK> (Hex value 0x15) character will be returned.

Message Command Examples:
The following command string <ESC>Gm10<STX>WAIT<EOT> would cause the indicator to display
the message " WAIT" for 10 seconds.

The command string <ESC>Gm00<STX>LOAD CORN<EOT> will scroll the message "LOAD CORN"
until the operator pressed a key on the indicator.

The command string <ESC>Gm15<STX>LOAD WHEAT FROM BUNKER #1<EOT> scroll the
message "LOAD WHEAT FROM BUNKER #1" 15 times or until the operator pressed a key on the indicator.

Advertising