
Integral Real-Time Clock
S5-90U/S5-95U
13.5
Setting Parameters in DB1
You must 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 in DB 1 (see Section 9.4).
After having performed an overall reset, output default DB1 to the programmer.
The real-time clock has the following parameter block:
Fig. 13-2. DB1 with the Default Parameters for the Integral Real-Time Clock of the S5-95U
Basic Unit
84: KC =' 100 ; #CLP: STW MW10';
96: KC ='2 CLK DB5 DW0 ';
108: KC =' SET 3 01.10.91 12:00:';
120: KC ='00 OHS 000000:00:00 ';
132: KC =' TIS 3 01.10. 12:00:00 ';
144: KC =' STP Y SAV Y CF 00 ';
156: KC =' ; #END ':
Use the cursor to jump into the parameter block ”CLP:”.
Delete the two comment characters (#) in front of ”CLP” and ”END”.
Change the clock parameters.
After the CLP block ID for the integral real-time clock, the STW parameter specifies the location of
the status word (in flag word MW102, for example). The CLK parameter defines the location of the
clock data (in DB5 beginning with DW0, for example).
You must specify both parameters if you want to read the clock. The following section describes the
procedures you must follow to read the clock.
Transfer the changed DB 1 to the programmable controller.
If you have stored the status word or the clock data area in a data block, then generate the DB
with a sufficient length and transfer it to the programmable controller.
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 programmable controller accepts the clock data on a STOP to RUN switchover only
if one of the DB 1 parameters ”SET”, ”OHS or ”TIS” has been changed.
This mechanism ensures, that the clock setting cannot be changed unintentionally by a
STOP to RUN switchover
13-8
EWA 4NEB 812 6115-02b
Содержание SIMATIC S5-90U
Страница 3: ...SIMATIC S5 S5 90U S5 95U Programmable Controller System Manual EWA 4NEB 812 6115 02b Edition 03 ...
Страница 6: ...EWA 4NEB 812 6115 02b ...
Страница 16: ...EWA 4NEB 812 6115 02b ...
Страница 23: ......
Страница 32: ...EWA 4NEB 812 6115 02b ...
Страница 46: ...EWA 4NEB 812 6115 02b ...
Страница 50: ......
Страница 51: ......
Страница 52: ......
Страница 53: ......
Страница 54: ......
Страница 55: ......
Страница 57: ......
Страница 58: ......
Страница 59: ......
Страница 64: ......
Страница 65: ......
Страница 66: ......
Страница 67: ......
Страница 89: ......
Страница 102: ...EWA 4NEB 812 6115 02b ...
Страница 118: ...EWA 4NEB 812 6115 02b ...
Страница 242: ...EWA 4NEB 812 6115 02b ...
Страница 288: ...EWA 4NEB 812 6115 02b ...
Страница 300: ...EWA 4NEB 812 6115 02b ...
Страница 362: ...EWA 4NEB 812 6115 02b ...
Страница 536: ...EWA 4NEB 812 6115 02b ...
Страница 538: ...EWA 4NEB 812 6115 02b ...
Страница 540: ...EWA 4NEB 812 6115 02b ...
Страница 562: ...EWA 4NEB 812 6115 02b ...
Страница 564: ...EWA 4NEB 812 6115 02b ...
Страница 590: ...EWA 4NEB 812 6115 02b ...
Страница 596: ...EWA 4NEB 812 6115 02b ...
Страница 598: ...EWA 4NEB 812 6115 02b ...
Страница 604: ...EWA 4NEB 812 6115 02b ...
Страница 606: ...EWA 4NEB 812 6115 02b ...
Страница 608: ...EWA 4NEB 812 6115 02b ...
Страница 610: ...EWA 4NEB 812 6115 02b ...
Страница 620: ...EWA 4NEB 812 6115 02b ...