19
19
E
Function Description
Description of
Output Buffer
(continued)
Sub-
Meaning
Function Description
address
02
HEX
Start address
Address at which reading from or writing to the data carrier begins
(Low Byte)
(the low byte includes the address range from 0 to 255).
or:
Head number
Select read/write head (for max. two heads) or find data carrier
in front of a read/write head.
01
HEX
Select Head 1.
02
HEX
Select Head 2.
03
HEX
Select both read/write heads. It must be determined that only
one data carrier is in front of a read/write head, since only one
data carrier at a time can be processed.
04
HEX
Check both read/write heads to see whether a data carrier is
present.
If a data carrier is found in the active zone of a head that head
remains selected. Its head number 01
HEX
or 02
HEX
is written to
the subaddress 01
HEX
of the input buffer.
If no data carrier is detected at one of the heads, the originally
selected head remains active (Head 1 or 2 or both).
As a result is sent to the input buffer:
– the "Head number" 04
Hex
to the subaddress 01
Hex
– the "Data" 00
Hex
to the subaddresses 02
Hex
to 05
Hex
05
HEX
Check both read/write heads until a data carrier is found.
See above under 04
HEX
for further details.
or:
Data
for writing to the data carrier.
(continued next )
Please note the basic
procedure on 25
and the examples on
26 to 34.
Please note:
All commands
affecting Head 2 are
invalid in all versions
for a single read/
write head.
C6_2-019_641365_0506-e.p65
20
20
E
Function Description
Description of
Output Buffer
(continued)
Sub-
Meaning
Function Description
address
03
HEX
Start address
Start address for reading from or writing to the data carrier
(High Byte)
(the High Byte is additionally used for the address range
from 256 to 8,191)
or:
Data
for writing to the data carrier.
04
HEX
No. of bytes
Number of bytes to read or write beginning with the start address
(Low Byte)
(the Low Byte includes from 1 to 256 bytes).
or:
Data
for writing to the data carrier.
05
HEX
No. of bytes
Number of bytes to read or write beginning with the start
(High Byte)
address (the High Byte is additionally used for the range
between 257 and 8,192 bytes).
or:
Data
for writing to the data carrier.
06
HEX
Data
for writing to the data carrier.
...
Data
for writing to the data carrier.
Last byte
Data
for writing to the data carrier.
or:
2nd Bit header The data are valid if the 1st and 2nd bit header are identical.
Please note the basic
procedure on 25
and the examples on
26 to 34.