
Selecting Commands
Communication Protocol
Page 4 of 7
EVO Readers
2
Selecting Commands
2.1
Feedback to selecting and polling commands
For each
selecting
received, the electronic board responds with the following syntax:
STX ADDS1 ADDS2
< CommandType > <RESULT>
ETX BCC
where
<CommandType> Command Type
< RESULT>
alphanumeric string of 1 character, command result
values:
“0” right
“1” command does not exist
“2” data format error
“5” wrong BCC
“6” no TAG found
“…” other errors
If the message analysis detects an error, the “0” character changes to indicate the error, the new value will be related
with the found error. The error message will be send if
STX
and
ETX
have been correctly received.
ADDS1
-
ADDS2
have to
be correctly received too.
If there is not a feedback from the terminal, when the timeout period elapsed the master have to resend the command.
2.2
Logical Reset
STX ADDS1 ADDS2
“2”
ETX BCC
where
“2” command type 'Logical Reset'.
It will be send after '
Set Setup
' or '
Set Setup Serial
' to apply the changes. The terminal will not respond to this command.
The logical reset is the same to shutdown and subsequent restarting of the terminal.
2.3
5557 emulation mode on 4x02
With this command you can program a 5557 as a EM 4x02.
STX ADDS1 ADDS2
“5” <CODE><ENCODING>
ETX BCC
“5” command type '5557 to 4x02’.
<CODE>
string of 10 character. Hexadecimal code for the transponder (apromix encoding)
<ENCODING>
encoding type - between “0” and “2”.
“0” – Apromix
The default expiry timeout is 100 milliseconds
2.4
Standard Block Writing
This command allows you to write a single block of page “0” (when the PWD tag is set to “0”).
STX ADDS1 ADDS2
“6” <LOCK> <DATA> <ADDR>
ETX BCC
“6” command type ‘Standard Block Writing’.
<LOCK>
string of 1 character - Lock bit value, valid values “0” and “1”
(ATTENTION, after set to 1 a value it cannot be reset to 0 and the block cannot be changed.)
<DATA>
string of 8 characters, hexadecimal, data to write on the block. valid value
“0123456789ABCDEF”