280
Log Retrieval Block
The log retrieval block consists of 2 parts: the header and the window. The
header is used to verify the data shown within the requested log window. The
window is a sliding block of data that can be used to access any record in the
specied log.
Registers 6000H-6003H
Size 4 Registers
Table 6-48
Address Parameter Property Format Description
6000H Log type R/W
Nnnnnnnn log type
ssssssss reserve
6001H
Record number,
status
R/W
Nnnnnnnn record number
wwwwwwww status
6002H~6003H oset R/W
6004H~607EH window R
Log type: The log to be retrieved. Write this value to set which log is being
retrieved.
0 -Historical Log 1
1 -Historical Log 2
2 -Historical Log 3
Records number: The number of records that t within a window. This value is
settable, any number less than a full window may be used. This number tells the
retrieving program how many records to expect to be fetched in the window.
(record number x Record Size) = bytes used in the window. This value should be
((123 x 2) / Record Size), rounded down. The greater this number is, the faster
the retrieving speed is.
For example, with a record size of 50, the Records number = ((123 x 2) / 50)
=4.92 ≈ 4.