9
9
E
The BIS C-60_2-028 version works with a further developed Balluff protocol, which optimizes
memory handling in the data carrier. This version would be required whenever the required
number of write cycles exceeds the number permitted for the EEPROM in the data carrier.
Depending on type, this will lie between 100,000 and 1,000,000 cycles and is indicated on the
data sheet for each respective data carrier. You must select a data carrier whose memory size
is a multiple of the number of bytes actually used for writing.
For any given data carrier the maximum number of write cycles permitted can be calculated
as follows:
W = W
CT
*
K
CT
- 5
n + 4
K
CT
= Memory size of data carrier in bytes
W
CT
= maximum number of write cycles for data carrier per data sheet
n
= maximum number of bytes for read/write commands
Using this intelligent method of memory handling, the number of write cycles is stored in a
counter. When the permitted number is reached, the previously used memory range is blocked
and a new memory range is used. This process is continued until the last memory range is
used up. During the last 1,000 write cycles the processor acknowledges all successful write
operations with a 'pre-warning' (56
Hex
in subaddress 02
Hex
of the input buffer).
When the maximum number of write cycles for the last memory range is reached, writing to
this memory range continues but an additional 'final warning' is indicated (45
Hex
in subaddress
02
Hex
of the input buffer).
BIS C-60_2 Processor
Optimized data carrier memory management
Protocol
C60_2-028_823024_0401-e.p65
10
10
E
BIS C-60_2 Processor
Optimized data carrier memory management
Initializing the
data carrier
In order to use a data carrier for memory optimization, the data carrier must first be initialized.
This can be done either with the Handy Terminal BIS C-800, or from a PC station with a built-
in BIS C-480-007-PC card, or using the initializing command of BIS C-60_2-028.
The first 5 bytes of the memory are used for the designator:
Byte No.
Initialization
(hexadecimal)
Meaning / Function
0
00H
Number of currently used memory range on data carrier
1
01H
02H
03H
04H
05H
06H
07H
08H
09H
0AH
0BH
0CH
0DH
128 Byte
256 Byte
512 Byte
1 024 Byte
2 048 Byte
4 096 Byte
8 192 Byte
16 384 Byte
127 Byte
255 Byte
511 Byte
1 023 Byte
2 047 Byte
Enter memory range of data carrier
2
01H
02H
03H
04H
05H
0AH
100,000
200,000
300,000
400,000
500,000
1,000,000
Enter maximum number of write cycles of the data carrier
(see data sheet)
3 and 4
maximum
0400H
maximum number of bytes per read/write cycle
= 1 kByte (segment size)
All manuals and user guides at all-guides.com