Setting The Operating Hours Counter - Siemens SIMATIC S5-95F Manual

Table of Contents

Advertisement

The Integral Real-Time Clock

10.5.4 Setting the Operating Hours Counter

You can enable the operating hours counter with bit 9 of the status word. This allows you to find
out, for example, for how many hours a motor has been in operation. The operating hours counter is
active only in the RUN mode.
Transferring Settings to the Operating Hours Counter
You can preset the operating hours counter with a certain start value (e.g. after exchanging the
CPU).
The clock data must be transferred in BCD code.
The "KC" data format loads a BCD constant into ACCU 1 and is therefore especially suitable for
entering the settings.
If you do not want a value (for example minutes) to be transferred, enter the relevant byte as
"255
" or""FF
". The current value for this variable is then retained.
D
H
After you have transferred the settings to the clock data area, you must set bit 10 in the status
word for the clock to accept the clock data.
Bit 8 in the status word displays incorrect settings.
10-18
S5-95F
EWA 4NEB 812 6210-02

Advertisement

Table of Contents
loading

Table of Contents