Integral Real-Time Clock
S5-90U/S5-95U
The following sections contain examples for programming the clock. Adhere to the rules described in
Section 9.4 for setting parameters when you enter these examples into the programmable controller.
Note
If the programmable controller recognizes a parameter setting error in DB1, the
programmable controller remains in the STOP mode even after it has been switched
from STOP to RUN. The red LED is lit.
13.5.1 Setting the Clock in DB1
Figure 13-3. Example - Setting the Clock in DB1
Setting the Clock
Explanation
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
84:
KS =' 100 ; CLP: STW MW10';
96: KS ='2 CLK DB5 DW0 ';
108: KS =' SET 6 08.11.91 15:30:';
120: KS ='00 0HS 000000:00:00 ';
.
.
144: KS =' STP Y SAV Y CF 00 '
DThe status word is located in flag word MW102.
The clock data is stored in data block 5
beginning with data word DW0. After the SET
parameter, enter the weekday, the date, and the
clock time you want the clock to use when it
begins running. Be certain to include the blank
spaces. The clock runs in the 24-hour time mode
since you do not enter either AM or PM.
The clock is updated when the programmable
controller is in STOP. The clock time of the
last RUN to STOP switchover is saved in the
clock data area. See Table 13-1.
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a
a a a a a
a a a a a
a a a a a
a a a a a
a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a
a a a a a a
a a a a a a
a a a a a a
a a a a a a
a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
13.5.2 Setting the Prompt Time in DB1
Figure 13-4. Example - Setting the Prompt Time in DB1
Setting the Prompt Time
Explanation
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a a
84: KS =' 100 ; CLP: STW MW10';
96: KS ='2 CLK DB5 DW0 ';
.
.
132: KS =' TIS 3 07.01 08:00:00 ';
144: KS ='AM STP Y SAV Y CF 00 ';
The status word is in flag word MW102. The clock
data is stored in data block DB5 beginning with
data word DW0.
After the TIS parameter, enter the weekday, the
data, and the clock time to initiate the prompt
time. You can enter the parameter for the clock
mode. The clock in the example runs in the 12-
hour mode.
The clock data area is updated when the
programmable controller is in STOP. The clock
time of the last RUN to STOP switchover is saved
in the clock data area. Refer to Table 13-1.
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a a a a a
a a a a a
a a a a a
a a a a a
a a a a a
a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a a a a a a a a a a a a a
a a a
a a a
a a a
a a a
13-10
EWA 4NEB 812 6115-02b
Summary of Contents for SIMATIC S5-90U
Page 6: ...EWA 4NEB 812 6115 02b ...
Page 16: ...EWA 4NEB 812 6115 02b ...
Page 23: ......
Page 32: ...EWA 4NEB 812 6115 02b ...
Page 46: ...EWA 4NEB 812 6115 02b ...
Page 50: ......
Page 51: ......
Page 52: ......
Page 53: ......
Page 54: ......
Page 55: ......
Page 57: ......
Page 58: ......
Page 59: ......
Page 64: ......
Page 65: ......
Page 66: ......
Page 67: ......
Page 89: ......
Page 102: ...EWA 4NEB 812 6115 02b ...
Page 118: ...EWA 4NEB 812 6115 02b ...
Page 242: ...EWA 4NEB 812 6115 02b ...
Page 288: ...EWA 4NEB 812 6115 02b ...
Page 300: ...EWA 4NEB 812 6115 02b ...
Page 362: ...EWA 4NEB 812 6115 02b ...
Page 536: ...EWA 4NEB 812 6115 02b ...
Page 538: ...EWA 4NEB 812 6115 02b ...
Page 540: ...EWA 4NEB 812 6115 02b ...
Page 562: ...EWA 4NEB 812 6115 02b ...
Page 564: ...EWA 4NEB 812 6115 02b ...
Page 590: ...EWA 4NEB 812 6115 02b ...
Page 596: ...EWA 4NEB 812 6115 02b ...
Page 598: ...EWA 4NEB 812 6115 02b ...
Page 604: ...EWA 4NEB 812 6115 02b ...
Page 606: ...EWA 4NEB 812 6115 02b ...
Page 608: ...EWA 4NEB 812 6115 02b ...
Page 610: ...EWA 4NEB 812 6115 02b ...
Page 620: ...EWA 4NEB 812 6115 02b ...