The Integral Real-Time Clock
S5-100U
Make certain you are aware of the following points when you make inputs into the clock data area.
•
Entries into the clock data area must be in BCD code.
•
The clock runs either in the 12-hour mode or the 24-hour mode depending on how you set bit 1
in the status word. See section 12-5 for additional information.
•
The AM/PM flag (0 = AM, 1 = PM) is significant only for the 12-hour mode of the hardware
clock. The AM/PM flag corresponds to bit 7 in words 2, 6, 10, and 20.
-
In the 12-hour mode, you have to set the hours and the AM/PM flag for both the clock and
prompt functions.
-
In the 24-hour mode, if you set an AM/PM flag when you enter the values for the clock and
prompting time, then the program sets the relevant error bit.
•
Leap year settings are only relevant when the clock is programmed in the user program. If DB1
is used, the leap year settings are carried out automatically by the system.
•
The clock settings you enter must be within the range defined in Table 12-4.
Table 12-4.
Range Definitions for Clock Data
0 to 59
0 to 59
In the 24-hour mode:
0 to 23
In the 12-hour mode:
for AM:
1 to12
(12 = 12 o’clock noon)
for PM:
81 to 92
(81 = 1 o’clock PM)
0 to 999999 when
entering the operating
hours
1 to 7
1=Sunday
2=Monday
3=Tuesday
4=Wednesday
5=Thursday
6=Friday
7=Saturday
Day
Month
Year
Leap Year
Variable
Permissible Parameters
Variable
Seconds
Minutes
Hours
Weekday
1 to 31
1 to 12
0 to 99
0 to 3
0 = Leap year is current
year
1 = Leap year was last year
2 = Leap year was two
years ago
3 = Leap year was three
years ago
Permissible Parameters
12-10
EWA 4NEB 812 6120-02b
Summary of Contents for SIMATIC S5-100U
Page 6: ...EWA 4NEB 812 6120 02b ...
Page 16: ...EWA 4NEB 812 6120 02b ...
Page 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Page 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Page 23: ......
Page 27: ......
Page 36: ...EWA 4NEB 812 6120 02b ...
Page 40: ......
Page 41: ......
Page 42: ......
Page 43: ......
Page 48: ......
Page 49: ......
Page 50: ......
Page 102: ...EWA 4NEB 812 6120 02b ...
Page 156: ...EWA 4NEB 812 6120 02b ...
Page 232: ...EWA 4NEB 812 6120 02b ...
Page 268: ...EWA 4NEB 812 6120 02b ...
Page 272: ...EWA 4NEB 812 6120 02b ...
Page 336: ...EWA 4NEB 812 6120 02b ...
Page 352: ...EWA 4NEB 812 6120 02b ...
Page 412: ...EWA 4NEB 812 6120 02b ...
Page 482: ...EWA 4NEB 812 6120 02b ...
Page 484: ...EWA 4NEB 812 6120 02b ...
Page 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Page 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Page 516: ...EWA 4NEB 812 6120 02b ...
Page 522: ...EWA 4NEB 812 6120 02b ...
Page 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Page 524: ...EWA 4NEB 812 6120 02b ...
Page 530: ...EWA 4NEB 812 6120 02b ...
Page 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Page 532: ...EWA 4NEB 812 6120 02b ...
Page 534: ...EWA 4NEB 812 6120 02b ...
Page 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Page 536: ...EWA 4NEB 812 6120 02b ...
Page 542: ...EWA 4NEB 812 6120 02b ...
Page 543: ...Index EWA 4NEB 812 6120 02b ...
Page 544: ...EWA 4NEB 812 6120 02b ...
Page 550: ...EWA 4NEB 812 6120 02b ...