Siemens S5-100U User Manual page 303

Simatic s5 programmable controller
Hide thumbs Also See for 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-02
Table 12-3. Clock Data in the Clock Data Area
Meaning
Bit 7=1 means PM, bit 7=0 means AM
Left Flag Word
---
Day
Year
Minute
Leap year*
Day
Year
Minute
---
Day
---
Minute
---
Minutes
Hours · 100
---
Minutes
Hours · 100
---
Day
Year
Minute
The Integral Real-Time Clock
Right Flag Word
Weekday
Month
AM/PM (Bit 7) Hour
Second
Weekday
Month
AM/PM (Bit 7)** Hour
Second
Weekday
Month
AM/PM (Bit 7)
Hour
**
Second
Second
Hour
Hours · 10,000
Second
Hours
Hours · 10,000
Weekday
Month
AM/PM (Bit 7)** Hour
Second
12-9

Advertisement

Table of Contents
loading

Table of Contents