EasyManuals Logo

Siemens SIMATIC S5-95F User Manual

Siemens SIMATIC S5-95F
579 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
Page #305 background imageLoading...
Page #305 background image
S5-95F The Integral Real-Time Clock
10.4 Using the Programmer to Read and Set the Integral Real-Time Clock
The following section describes reading and setting of the integral real-time clock via the
programmer with the "Block Output" function. In the following, we assume that the
clock data area
and the status word
have been stored in the
parameter control DB
and that data block DB1 has
been parameterized correspondingly. When parameterizing the clock using COM 95F, be sure to
acknowledge the entry ”Update in STOP” with ”Yes”.
Please note that in the safety mode you can set the integral real-time clock via the programmer only
when the PLC is at a STOP.
Reading and Setting the Clock Time
Read the parameter control DB (here DB200) from the S5-95F using the programmer function
"BLOCK OUTPUT".
Enter the new settings in DW 4 through DW 7.
If you do not wish to transfer one of the settings, you must mark the corresponding byte with
"FF
H
". When you then set the clock, the present value is retained.
Set bit 2 of the status word; the settings from DW 4 through DW 7 are transferred to the clock
Impermissible settings are indicated by a bit which is then set in the status word. The clock
continues running with the old values.
Table 10-7. Example: Setting the Clock Time via the Programmer Function
"BLOCK OUTPUT"
Operand Format Explanation
DB 200
DW 0
DW 1
DW 2
DW 3
KH = 0003
KH = 0510
KH = 9312
KH = 0000
Read current clock data
Tuesday
October 5
1993
12 o'clock
DW 4
DW 5
DW 6
DW 7
KH = 0002
KH = 0612
KH = 9310
KH = 3500
Enter new settings
Monday
December 6
1993
10.35 Uhr
DW 22 KM = 00000000 00000100 If you set bit 2 in the status word to
"1", the new settings are transferred
to the clock.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
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a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
Terminate the parameter control DB.
After transferring of the new settings, the S5-95F resets bit 2 of the status word.
Reading and Setting the Prompt Time and the Operating Hours Counter
You can change the settings for the prompt function and the operating hours counter in the same
way as described above for the clock time settings.
Note
In the test mode, you can also read and set the integral real-time clock via the
programmer function "FORCE VAR". In the safety mode, you can use "FORCE VAR"
only to read the clock.
EWA 4NEB 812 6210-02
10-9

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SIMATIC S5-95F and is the answer not in the manual?

Siemens SIMATIC S5-95F Specifications

General IconGeneral
BrandSiemens
ModelSIMATIC S5-95F
CategoryController
LanguageEnglish

Related product manuals