The Integral Real-Time Clock
S5-100U
12.2
Setting Parameters in DB1, for CPU 103 Version 8MA03 and Higher
Set the clock parameters in DB1 to be able to use the clock functions. Follow the same rules you
used in setting parameters for other functions. Refer to section 9.1.
Procedures for Setting Parameters in DB1
1.
Perform an overall reset.
2.
Output default DB1 to the programmer.
3.
Use the cursor to jump into the clock parameter block.
4.
Change the parameters.
5.
Transfer the changed DB1 to the programmable controller.
6.
Switch the programmable controller from STOP to RUN.
Every time there is a change from STOP to RUN, the programmable controller accepts the new
clock data.
Note
The system data contents are deleted during an overall reset. The clock continues to run
internally with the current values.
The clock time is updated one second after the next cycle starts.
12.2.1 Defaults
The following values are preset in the parameter block when you output the default DB1.
Figure 12-1.
DB1 with Default Parameters for Integral Real-Time Clock
36: KS ='PGN 01 ; #CLP: CF 0 ';
48: KS ='CLK DB5 DWO STW ';
60: KS ='MW102 STP Y SAV Y ';
72: KS ='OHE N SET 4 01.04.92 ';
84: KS ='12:00:00 TIS 4 ';
96: KS ='01.04. 13:00:00 OHS ';
108: KS ='000000:00:00 # ; SDP: WD';
After the CLP block ID for the integral real-time clock, the CLK parameter defines the location of the
clock data (in DB5 beginning with DW0, for example). The STW parameter specifies the location of
the status word (in flag word MW102, for example). You must specify both parameters if you want
to read the clock.
Section 12.2.2 describes the procedures you must follow to read the clock.
Section 12.2.3 lists all of the parameters that you can use for the integral clock.
12-2
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 ...