Digi-Star EZII Escape Computer Command Set User Manual

Page 21

Advertising
background image

EZII Escape Computer Command Set

21

D36 48 Rev G

November 30, 2009

Rf - Data Field Format Command:
The Data Field Format Command must be sent to the EZ 3500 before any feedlines can be uploaded. This does not need to be done more than
one time. The EZ 3500 stores this information into permanent memory.

This Data Field Format command tells the EZ 3500 the column location and length of each data field. This is done by placing a "single letter data
field identifier" (ex. U- identifies the "Done/Undone" field) at the same column location as the data it represents. If the field uses more than one
location, place a one OR two digit "field length" value immediately after the "single letter data field identifier"(ex. N6 - represents a Truck Number
that is 6 digits long).

This command includes the following information:

Start new command:

<ESC>

Command identifier:

Rf

Data Field Format Text:

Sent exactly as shown below.

End of command:

<EOT>

Data Field Format Command Response:
If the command is completed successfully, then the <ACK> (Hex value 0x06) character will be returned. If the command fails, the <NAK> (Hex
value 0x15) character will be returned.

Below is the "Data Field Format" text string (the "quotes" are not part of the string). For clarity, the leading & trailing "Control Codes" are not
shown. Complete Feedline with Control codes & Check Sum information follows.

"N6 U G T B4 L6 R6 P6 A6 I8 C5 F D8 H6 E6 Z M6 W6 m3 t3 "

Feedline with Control codes & Check Sum:
Each feedline requires specific (see example #2) leading and trailing information.

<ESC>Rf<STX>Feedline Data Fields<CR> <ETX> Check Sum <EOT>

<ESC>

= Record Separator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 27

Hex 1B

R

= Ration/Recipe Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 82

Hex 52

f

= f = Format Line, d= Data Feedline . . . . . . . . . . . . . . . . . . . . . . Dec 100

Hex 64

<STX>

= Start of Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 2

Hex 02

message

= The actual message to be sent(As per above)

<CR>

= Carriage Return . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 13

Hex 0D

<ETX>

= End of Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 3

Hex 03

Check Sum

= XOR'ed bits of each character in the message.
AND'ed with 63 to keep the lower 6 bits.
Added with 64 to make it a printable character.

<EOT>

= End of Transmission . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 4

Hex 04

Advertising