Siemens S5-100U User Manual page 313

Simatic s5 programmable controller
Hide thumbs Also See for S5-100U:
Table of Contents

Advertisement

S5-100U
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
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
Operand
DB 75
DW 0
DW 1
DW 2
DW 3
DW 4
DW 5
DW 6
DW 7
FW 12
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-02
Table 12-14. FORCE VAR Function
Signal States
KH = 0003
KH = 0110
KH = 9112
KH = 0000
KH = 0002
KH = 0212
KH = 9210
KH = 3000
KM = 00000000 00000100
The Integral Real-Time Clock
Explanation
Tuesday
October 1
1991, 12 o'clock
(reading current clock data)
Monday
December 2
1992, 10.30 o'clock
(writing new settings)
If you set bit 2 in the status word to
"1", the new settings are transferred
to the clock.
12-19

Advertisement

Table of Contents
loading

Table of Contents