The Integral Real-Time Clock
S5-100U
The following section is intended to help you to start running the integral real-time clock as quickly
as possible by setting parameters in the system data. You need to be familiar with the clock data
area described in sections 12.4 and 12.5 in order to understand this section.
Note
The clock time is updated one second after the start of the next cycle.
Task:
You want to set the clock to the following values:
Wednesday, 12.02.92; 10:30:00
The status word is assigned to flag word FW12. Clock data is stored in DB75 beginning with DW0.
The two ways to transfer clock settings are as follows:
•
Use the STATUS VAR programmer function when the programmable controller is in the RUN
mode.
•
Use the FORCE VAR programmer function when the programmable controller is in the STOP
mode and status word bit 4 = 1.
The following example uses the first method. Proceed as follows:
1.
Set the programmable controller to Power OFF.
2.
Set the operating mode switch to STOP.
3.
Set the programmable controller to Power ON.
4.
Perform an overall reset on the programmable controller. See section 4.1.3.
5.
Use the following program to program the programmable controller.
6.
Set the operating mode switch to RUN.
The integral real-time clock is running.
Program Structure:
The system data is defined during the change from
STOP to RUN.
The system data is defined when the programmable
controller is switched on.
Set the new date and time.
OB21
FB1
FB1
OB22
FB1
DB75
12-16
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 ...