Ob 131: Delete Accus 1, 2, 3 And 4 - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

OB 131: Delete ACCUs 1, 2, 3 and 4

Example
6.8

OB 131: Delete ACCUs 1, 2, 3 and 4

Function
Parameters
Result
Possible errors
6 - 26
With the following sequence of operations, you
can check whether or not the battery is OK and if
it is not, you can energize a lamp:
:
:JU
OB 129
:JC
=BATL
:
:
:BEU
BATL :SU
Q
22.5
:
:BE
By calling special function organization block OB 131 once, you can
delete the contents of ACCUs 1 to 4 extremely simply. OB 131
overwrites all four registers with '0'.
None
The ACCUs 1 to 4 (each 32 bit) are deleted ('0').
None
RLO = 1 -> battery run down
switch on warning lamp at
output byte 22, bit 5
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents