Digi-Star EZII Escape Computer Command Set User Manual
Page 38
EZII Escape Computer Command Set
38
D36 48 Rev G
November 30, 2009
Ea - EID Upload Data Field Command:
This command allows an alpha-numeric data field (26 characters in length) to be uploaded into one of the
twenty possible indicator data fields on the SW4600indicator "DATA" screen. This command is only valid
on a SW4600 EID indicator. This command includes the following information:
Start new command:
<ESC>
Command identifier:
Ea
Data field index:
nn (nn can be a number from 01 to 20, must be 2 digits)
Data Field Format Text:
Sent exactly as shown below ( <STX>data<ETX>)
Checksum:
End of command:
<EOT>
<ESC>Eann<STX>Data Fields<ETX> Check Sum<EOT>
<ESC>
= Data Separator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 27
Hex 1B
E
= EID Category . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 69
Hex 45
a
= upload to indicator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 97
Hex 61
nn
= Data field index ( nn can be number from 01 to 20, must be 2 digits )
<STX>
= Start of Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 2
Hex 02
data field
= The actual data to be sent. Must be exactly 26 characters of Ascii Data. Valid characters
may not be less than Space " " (hex value 20) character and may not be greater than "z"
(hex value 7A) character of the ASCII character set.
<ETX>
= End of Text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Dec 3
Hex 03
Check Sum
= XOR'ed bits of each character in the data field (data between the <STX> and the <ETX>,
but does not include the <STX> or <ETX>) 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
Command Response:
If the command is completed successfully, then the <ACK> (Hex value 0x06) character will be returned
after receiving the command. If the command fails, the <NAK> (Hex value 0x15) character will be returned.
Command Examples:
The following command string:
<ESC>Ea10<STX>LOADS THIS DATA INTO SCALE<ETX>checksum<EOT>
would load the text data "LOADS THIS DATA INTO SCALE" into the "DATA10" field on the
"DATA" screen of the SW4600 eid indicator.