Data Library
2.6 Real Time Clock
ATC5300
Modbus Communication Protocol, Edition 03/2011, A5E02469001-02
25
¿
The association between the numerical value and the function has to be done in a sequential
way, considering the function listed on the operative manual. The first function is obtained by
setting 0, while the last function by setting the maximum value allowed by the range.
À
To select OFF, set the minimum numerical value allowed by range.
Á
To select OFF, set the maximum numerical value allowed by range.
Â
The association between the numerical value and the function has to be done in a sequential
way, considering the function listed on the operative manual. The first function is obtained by
setting the maximum value allowed by the range, while the last function by setting value 0.
2.6
Real Time Clock
(To be used with functions 04 and 06)
To make the changes effective, store them using the dedicated command described in table 3.
2.7
Event Log Reading
The events history is stored in a circular buffer memory. To rebuild the correct time sequence,
it is necessary to read the position of the most recent event, indicated by the buffer pointer, and
go backward starting from it for a number of positions equal to the one indicated by the event
counter.
If the head of the circular buffer is reached (pos. 1), then it is necessary to move to the last
position (pos. 100, tail) and then go back until the most recent event is reached again. Time
stamp values are returned in compacted format, in three registers containing each a couple of
data. For instance register 2100h holds in the MSB the hours and in LSB minutes. The same
criteria is applied to seconds / day and month / year.
3701h
1
P8.02 Interval time (days)
1
…
60
Unsigned integer
3702h
1
P8.03 Enable test on Monday
0
…
1
¿
Unsigned integer
3703h
1
P8.04 Enable test on Tuesday
0
…
1
¿
Unsigned integer
3704h
1
P8.05 Enable test on Wednesday
0
…
1
¿
Unsigned integer
3705h
1
P8.06 Enable test on Thursday
0
…
1
¿
Unsigned integer
3706h
1
P8.07 Enable test on Friday
0
…
1
¿
Unsigned integer
3707h
1
P8.08 Enable test on Saturday
0
…
1
¿
Unsigned integer
3708h
1
P8.09 Enable test on Sunday
0
…
1
¿
Unsigned integer
3709h
1
P8.10 Auto test begin hour
0
…
23
Unsigned integer
370Ah
1
P8.11 Auto test begin minutes
0
…
59
Unsigned integer
370Bh
1
P8.12 Duration time
0
…
600
Unsigned integer
370Ch
1
P8.13 On load switching
0
…
1
¿
Unsigned integer
ADDRESS WORDS
PARAMETER
RANGE
FORMAT
2F20h
1
Seconds
0 ..59
Unsigned integer
2F21h
1
Minutes
0 ..59
Unsigned integer
2F22h
1
Hours
0 ..23
Unsigned integer
2F23h
1
Weekday
1 ..7
Unsigned integer
2F24h
1
Day
0 ..31
Unsigned integer
2F25h
1
Month
1 ..12
Unsigned integer
2F26h
1
Year (2000
→
)
0 ..99
Unsigned integer