Ob 124: Delete Step 5 Blocks - Siemens CPU 948 Programming Manual

Simatic s5 s5-155u
Table of Contents

Advertisement

OB 124: Delete STEP 5 Blocks

6.4

OB 124: Delete STEP 5 Blocks

Function
Parameters
Result
6 - 14
With OB 24, you can delete any STEP 5 blocks (logic and data
blocks) in the user memory. The deleted block is removed from the
address list in DB 0.
The gap in memory resulting from deleting a block is used again when
new blocks are loaded.
1. ACCU-1-LH
Block type of the block to be deleted
2. ACCU-1-LL
Block number of the block to be deleted
Permitted block types and numbers:
ACCU-1-LH (block type)
1 = PB
2 = SB
3 = FB
4 = FX
5 = DB
6 = DX
7 = OB
After correct and error-free processing, the system program sets the
RLO to '0' and clears the condition codes CC 1 and CC 0.
Note
While the blocks are actually being deleted, user interrupts are
disabled: no interrupts come through.
By calling OB 124, the contents of ACCU 1 to ACCU 4 are
modified. The BR register is retained.
ACCU-1-LL (block number)
0 to 255
0 to 255
0 to 255
0 to 255
3 to 255
3 to 255
1 to 39
CPU 948 Programming Guide
C79000-G8576-C848-04

Advertisement

Table of Contents
loading

Table of Contents