Reading The Current Clock Time And The Current Date - Siemens SIMATIC S5-100U System Manual

Simatic s5 series cpu 100/102/103
Hide thumbs Also See for SIMATIC S5-100U:
Table of Contents

Advertisement

S5-100U

12.2.2 Reading the Current Clock Time and the Current Date

Proceed as follows to see how and with which values the clock runs.
1. Perform an overall reset.
2. Output DB1 to the programmer.
3. Overwrite both (#) comment characters with a blank space.
4. Generate DB5 with DW0 to DW21. See Table 12-3 for information about storing the current
clock time and current date.
5. Switch the programmable controller from STOP to RUN. The clock accepts the values present
in DB1.
6. Enter DB5 and DW0 to DW3 on the programmer by using the FORCE VAR function.
7. Press the "ENTER" key twice. The clock runs using the current values.
Table 12-1. Reading the Current Clock Time and Current Date
Operand
DB 5
DW 0
DW 1
DW 2
DW 3
EWA 4NEB 812 6120-02b
Signal States
KH = 0004
KH = 0104
KH = 9212
KH = 0000
The Integral Real-Time Clock
Explanation
Wednesday
October 1
1992, 12:00
12-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents