EasyManua.ls Logo

Siemens S5-100U - Page 313

Siemens S5-100U
512 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
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
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.
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
12-19

Table of Contents

Related product manuals