S5-100U
The Integral Real-Time Clock
Reading and Setting the Time and Date
After you enter the program, you can test it as follows.
1.
Switch the programmable controller to the RUN mode.
2.
Use the FORCE VAR programmer function to enter the following.
-
Data block number
-
Data words DW0 to DW7
-
Clock data
-
Status word
Table 12-14.
FORCE VAR Function
Operand
Signal States
Explanation
DB 75
DW 0
DW 1
DW 2
DW 3
KH = 0003
KH = 0110
KH = 9112
KH = 0000
Tuesday
October
1
1991, 12 o’clock
(reading current clock data)
DW 4
DW 5
DW 6
DW 7
KH = 0002
KH = 0212
KH = 9210
KH = 3000
Monday
December 2
1992, 10.30 o’clock
(writing new settings)
FW 12
KM = 00000000 00000100
If you set bit 2 in the status word to
“1”, the new settings are transferred
to the clock.
3.
Begin status processing by pressing the ENTER key twice. Bit 2 in the status word is reset. The
clock runs with the new settings
Note
Besides using the method described in Table 12-14 (with the FORCE VAR function), you
can also enter the new settings directly into the data block. In that case, store the new
settings in data words DW4 to DW7 of data block DB75.
See Table 12-13.
EWA 4NEB 812 6120-02b
12-19
Содержание 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 ...