33
deutsch
33
E
Mixed Data Access
Function Description
Processing data carrier
Small read/write programs can be stored in the BIS C-60_1 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
command.
Up to 10 programs with up to 25 instructions can be stored. Each program instruction
contains a “start address” and a “number of bytes” specification. The amount of data for
reading may not exceed 2 kBytes.
Storing a program:
The command identifier 06
Hex
is used to send the read/write program to the BIS C-60_1
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
H
EX
FF
H
EX
as a terminator. It is recommended that the remaining, unused
memory sector be filled with FF
H
EX
FF
H
EX
.
If an address range is selected twice, the data will also be output twice.
☞
C60_1-023_819395_0508_en.p65
34
34
E
Mixed Data Access
(cont.)
The following shows the structure of a program:
Program structure
Subaddress
Value
Range
Command designator
01
H
EX
06
H
EX
1. Program record
Program number
02
H
EX
01
H
EX
01
H
EX
to 0A
H
EX
1st data record:
Start address Low Byte
03
H
EX
Start address High Byte
04
H
EX
Number of bytes Low Byte
05
H
EX
Number of bytes High Byte
06
H
EX
2nd data record:
...
25th data record:
Start address Low Byte
03
H
EX
Start address High Byte
04
H
EX
Number of bytes Low Byte
05
H
EX
Number of bytes High Byte
06
H
EX
Terminator
FF
H
EX
FF
H
EX
To store a second program, repeat this process.
The procedure for writing these settings to the EEPROM is described in the 10th example on
48...50.
Replacing the EEPROM is described on 69 for BIS C-6001 and on 80 for BIS C-6021.
Function Description
Processing data carrier