Example
6.8 OB 131: Delete ACCUs 1, 2, 3 and 4
Function
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’.
Parameters
None
Result
The ACCUs 1 to 4 (each 32 bit) are deleted (’0’).
Possible errors
None
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 RLO = 1 -> battery run down
:
:
:BEU
BATL :SU Q 22.5 switch on warning lamp at
: output byte 22, bit 5
:BE
OB 131: Delete ACCUs 1, 2, 3 and 4
CPU 948 Programming Guide
6 - 26 C79000-G8576-C848-04