S5-90U/S5-95U
Table 13-1 provides you with information about where specific clock data is located within the clock
data area.
If the clock data area is located
•
in a data block, then the word numbers in the table apply,
•
in the flag, input or outputs areas, then the byte numbers apply.
The explanations on the entries in the clock data area follow Table 13-1.
Clock Data
Area
Word
Byte
No.
No.
Current clock time/
0
0; 1
Current date
1
2; 3
2
4; 5
3
6; 7
4
8; 9
Settings for clock
time/date
5
10;11
6
12;13
7
14;15
8
16;17
Time prompt
9
18;19
10
20; 21
11
22; 23
12
24; 25
Current operating
hours
13
26; 27
14
28; 29
15
30; 31
Settings for
operating hours
16
32; 33
counter
17
34; 35
18
36; 37
Clock time/date after
a switch from RUN to
19
38; 39
STOP or Power OFF
(only if bit 5 in the
20
40; 41
status word 5=1)
21
42; 43
*
Leap years are taken into account; there is no automatic changeover between summer and winter time.
**
Significant only in the 12-hour mode Bit 7=1 means PM; Bit 7=0 means AM
EWA 4NEB 812 6115-02b
Table 13-1. Clock Data in the Clock Data Area
Meaning
Left Word or
Low Byte
*
Right Word or
High Byte
---
Day
Year
AM/PM (Bit 7), Hour
Minute
---
Day
Year
AM/PM (Bit 7)
Minute
---
Day
---
AM/PM (Bit 7)
Minute
---
Minutes
Hours · 100
---
Minutes
Hours · 100
---
Day
Year
AM/PM (Bit 7), Hour
Minute
Integral Real-Time Clock
Weekday
Month
Second
Weekday
Month
, Hour
**
Second
Weekday
Month
, Hour
**
Second
Seconds
Hours
Hours · 10,000
Seconds
Hours
Hours · 10,000
Weekday
Month
Second
13-3