Siemens SIMATIC S5-100U System Manual page 309

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U
When you set the clock, you have to transfer only the data needed to implement a particular
function. For example, if you want to change only the clock function data, you do not have to enter
data for the time prompt function or for the operating hours counter.
The clock data area has the same structure wherever it is located: in the data block area, the flag
area, the input area, or the output area. Table 12-3 provides you with information about where
specific clock data is located within the clock data area. The explanations for Table 12.3 follow the
table.
Clock Data
Area
(Data Word)
Current clock
0
time/date
1
2
3
4
Settings for clock
time/date
5
6
7
8
Time prompt
9
10
11
12
Current operating
hours
13
14
15
Settings for
operating hours
16
counter
17
18
Clock time/date after
a switch from RUN to
19
STOP or Power OFF
(only if bit 5 in the
20
status word = 1)
21
*
Relevant when programming the clock in the user program (see Table 12-4)
**
Significant only in the 12-hour mode
EWA 4NEB 812 6120-02b
Table 12-3. Clock Data in the Clock Data Area
Meaning
Left Flag Word
Hours · 100
Hours · 100
Bit 7=1 means PM, bit 7=0 means AM
The Integral Real-Time Clock
Right Flag Word
---
Day
Year
AM/PM (Bit 7) Hour
Minute
Leap year*
Day
Year
AM/PM (Bit 7)** Hour
Minute
---
Day
---
AM/PM (Bit 7)
Minute
---
Minutes
---
Minutes
---
Day
Year
AM/PM (Bit 7)** Hour
Minute
Weekday
Month
Second
Weekday
Month
Second
Weekday
Month
Hour
**
Second
Second
Hour
Hours · 10,000
Second
Hours
Hours · 10,000
Weekday
Month
Second
12-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents