45
45
english
Function Description
Mode 1: Processing data carriers
Reading and writing
in dynamic mode
In normal operation a read/write job is rejected by the BIS C-60_3 processor by setting the AF
bit and an error number if there is no data carrier in the active zone of the read/write head. If
dynamic mode is configured, the processor accepts the read/write job and stores it. When a
data carrier is recognized, the stored job is carried out.
Reading without simultaneous data transmission:
In the case of a read job the processor
first reads our all requested data from the data carrier after receiving the start address and the
desired number of bytes, and then sets the AE bit. Then the data read from the data carrier
are written to the input buffer. In the case of larger data amounts this is done in blocks,
controlled by the handshake with the toggle bits as described on 43.
Reading with simultaneous data transmission:
In the case of a read job the processor
begins to sent data to the input buffer as soon as the firsts number of bytes (corresponding to
the buffer length of the head (-1 byte for the bit header)) has been read from the data carrier
and indicates this by inverting the TO bit. As soon as the controller inverts the TI bit, the
processor sends the data, which have in the meantime been read, to the input buffer. This is
repeated until the processor has read out all the desired data from the data carrier. Now the
processor sets the AE bit and outputs the remaining data on the input buffer.
Writing without simultaneous data transmission:
In the case of a write job the processor
waits until it has received all the data that need to be written from the controller. Only then are
the data written to the data carrier as described on 43.
Writing with simultaneous data transmission:
In the case of a write job the processor
begins to write the data to the data carrier as soon as it has received the first data to be
written from the controller’s output buffer. Once all the data have been written to the data
carrier, the AE bit is set.
Reading and writing
with simultaneous
data transmission
C60_3-025_825645_1310_e.p65
46
english
46
Mixed Data Access
Function Description
Mode 1: Processing data carriers
Small read/write programs can be stored in the BIS C-60_3 processor’s EEPROM.
The Mixed Data Access function is useful when the required information is stored on the data
carrier at various addresses. This function makes it possible to read out this “mixed”, i.e. non-
contiguously stored data from the data carrier in a single procedure and using just one com-
mand.
Up to 10 programs with up to 25 instructions can be stored. Each program instruction con-
tains a “start address” and a “number of bytes” specification. The amount of data for reading
may not exceed 2 kB.
Storing a program:
The command identifier 06
Hex
is used to send the read/write program to the BIS C-60_3
processor. One program per command can be stored. All 25 program records plus an addi-
tional 2 bytes with FF
Hex
FF
Hex
as a terminator must always be sent. This means a total of
104 bytes
of information per program must be sent (including the command identifier and
program number).
The individual program records must all be contiguous. They must be sent one after the other
and be terminated with FF
Hex
FF
Hex
as a terminator. It is recommended that the remaining, un-
used memory sector be filled with FF
Hex
FF
Hex
.
If an address range is selected twice, the data will also be output twice.
☞