
MODBUS communication
11.7 Reading the event log
3KC ATC6300 transfer control device
Manual, 03/2018, L1V30535632002A-01
167
11.6.5
Real-time clock (use with MODBUS function 04 and 06)
Address
Words
Function
Range
28F0H
1
Year
2000 - 2099
28F1H
1
Month
1 - 12
28F2H
1
Day
1 - 31
28F3H
1
Hours
0 - 23
28F4H
1
Minutes
0 - 59
28F5H
1
Seconds
0 - 59
11.7
Reading the event log
In order to read the event log, proceed as follows:
1.
Perform the reading of a register of address 5030h using function 04.
The most significant byte (msb) specifies how many events have been logged (value from
0 – 100).
The least significant byte (lsb) is incremented each time an event is stored (value from 0 –
100). If 100 events have been stored, the msb remains at 100, while the lsb is reset to 0
and starts counting again.
2.
Set the index to the event that you wish to read (less than the total number of stored
events).
To do this, use function 06 at 5030H.
3.
Perform the reading of 43 registers (with a single function 4) at address 5032h.
4.
The returned value is a string of 86 ASCII characters that show the same message as on
the ATC6300 display. The index of the event to be read is automatically reduced after
Register 5032h has been read. This increases the speed of the download.
5.
If you would like to read out the next event, perform step 4, and if you would like to read a
different one, perform step 3.