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
Содержание SIMATIC S5-100U
Страница 6: ...EWA 4NEB 812 6120 02b ...
Страница 16: ...EWA 4NEB 812 6120 02b ...
Страница 21: ...1 The SIMATIC S5 System Family EWA 4NEB 812 6120 02b ...
Страница 22: ...Figures 1 1 Members of the SIMATIC S5 System Family 1 1 EWA 4NEB 812 6120 02b ...
Страница 23: ......
Страница 27: ......
Страница 36: ...EWA 4NEB 812 6120 02b ...
Страница 40: ......
Страница 41: ......
Страница 42: ......
Страница 43: ......
Страница 48: ......
Страница 49: ......
Страница 50: ......
Страница 102: ...EWA 4NEB 812 6120 02b ...
Страница 156: ...EWA 4NEB 812 6120 02b ...
Страница 232: ...EWA 4NEB 812 6120 02b ...
Страница 268: ...EWA 4NEB 812 6120 02b ...
Страница 272: ...EWA 4NEB 812 6120 02b ...
Страница 336: ...EWA 4NEB 812 6120 02b ...
Страница 352: ...EWA 4NEB 812 6120 02b ...
Страница 412: ...EWA 4NEB 812 6120 02b ...
Страница 482: ...EWA 4NEB 812 6120 02b ...
Страница 484: ...EWA 4NEB 812 6120 02b ...
Страница 505: ...B Dimension Drawings EWA 4NEB 812 6120 02b ...
Страница 515: ...C Active and Passive Faults in Automation Equipment EWA 4NEB 812 6120 02b ...
Страница 516: ...EWA 4NEB 812 6120 02b ...
Страница 522: ...EWA 4NEB 812 6120 02b ...
Страница 523: ...D Information for Ordering Accessories EWA 4NEB 812 6120 02b ...
Страница 524: ...EWA 4NEB 812 6120 02b ...
Страница 530: ...EWA 4NEB 812 6120 02b ...
Страница 531: ...E Reference Materials EWA 4NEB 812 6120 02b ...
Страница 532: ...EWA 4NEB 812 6120 02b ...
Страница 534: ...EWA 4NEB 812 6120 02b ...
Страница 535: ...F Siemens Addresses Worldwide EWA 4NEB 812 6120 02b ...
Страница 536: ...EWA 4NEB 812 6120 02b ...
Страница 542: ...EWA 4NEB 812 6120 02b ...
Страница 543: ...Index EWA 4NEB 812 6120 02b ...
Страница 544: ...EWA 4NEB 812 6120 02b ...
Страница 550: ...EWA 4NEB 812 6120 02b ...