Battery Backup Of The Hardware Clock - Siemens SIMATIC S5-115U User Manual

Simatic s5 series cpu 941-7ub11 cpu 942-7ub11 cpu 943-7ub11 and cpu 943-7ub21 cpu 944-7ub11 and cpu 944-7ub21
Table of Contents

Advertisement

Integral Real-Time Clock
Operating Hours Counter Flags
Table 13-7. Meaning of the Operating Hours Counter Flags
(Bits 8, 9 and 10 of the Status Word)
Bit Number
Signal State
8
9
10
Alarm Clock Flags
Table 13-8. Meaning of the Alarm Clock Flags
Bit Number
Signal State
12
13
14
Bits 6, 7, 11 and 15 are required by the operating system, and cannot be used by the user.
Scanning the Status Word
You can scan the individual bits of a data word in a data block using the "P<data word number>
<bit number>" operation. Scan the individual bits in the flag area by entering the <byte
address> and the <bit number>.
Example:
The status word is stored in DW 13. Supposing you want to check to see whether the
set prompting time has been reached.
Scanning is initiated with the "B D 13.13" statement.
If the status word is stored in FW 13, the scan operation would be "A F 13.5".
13.4

Battery Backup of the Hardware Clock

With battery backup, the clock will continue to operate even after "POWER OFF". If the PC does
not have battery backup, the clock will show the settings 01.01.89 12.00.00, Weekday: 1 when the
clock is initialized following "POWER ON". The 24-hour mode is set as default. Batteries should
therefore only be changed while the power is on, otherwise the clock data will be lost.
13-12
1
Error when entering settings
0
No error when entering settings
1
Enable operating hours counter
0
Disable operating hours counter
1
Transfer settings
0
Do not transfer settings
(Bits 12, 13 and 14 of the Status Word)
1
Error when entering settings
0
No error when entering settings
1
Set prompting time reached
0
Set prompting time not reached
1
Transfer settings
0
Do not transfer settings
Meaning
Meaning
S5-115U Manual
EWA 4NEB 811 6130-02b

Advertisement

Table of Contents
loading

Table of Contents