Elatec GmbH
Page 33 of 65
7.4.4.1
Create Value Block ‘wv’
Use this command to format a common data block as a value block. The range of valid block
addresses depends on the used transponder type. You must log into the respective sector before this
command can be executed.
Command:
‘wv[BlockAddr][Value]’
Parameters
Description
[BlockAddr]
Block address
[Value]
Initial value stored on the value block (4 bytes).
The value is stored signed (most significant bit). Negative values are stored in 2‟s complement format.
Answer
Answer
Description
Data<CR><LF>
Written value
‘F<CR><LF>’
Error: write failure
‘I<CR><LF>’
Error: invalid block format
Examples
Command
Description
wv0800000000
Formats block 08 as a value block. Initial value: 00000000h
wv0912345678
Formats block 09 as a value block. Initial value: 12345678h
wv0AFFFFFFFE
Formats block 0A as a value block. Initial value: FFFFFFFFEh (-2)
7.4.4.2
Read Value Block ‘rv’
Use this command to read a value block. This command checks if data of the specified block is stored
in value format. You must log into the respective sector before this command can be executed.
Command:
‘rv[BlockAddr]’
Parameters
Description
[BlockAddr]
Block address
Answer
Answer
Description
Data<CR><LF>
Value of block
‘F<CR><LF>’
Error: read failure
‘I<CR><LF>’
Error: invalid block format
Example
Command
Description
rv08
Reads value block 08