Technical data

6.31.4
OB 242: Deleting a
Shift Register
Function
With this function, you can delete a shift register in the data block
RAM. The entry in the DB 0 address list is cleared and the shift
register is declared invalid in the DB RAM (remember: shift registers
still occupy memory space after they have been deleted).
Parameters
ACCU-1-L
Number of the shift register to be deleted,
possible values: 192 to 255
Result
After you call OB 242, the shift register is deleted and can no longer
be used; if you want to work with it again, it must be reinitialized.
Possible errors
illegal shift register number in ACCU 1
shift register not initialized
In the event of an error, the CPU recognizes a runtime error and calls
OB 31. What happens then depends on how you programmed OB 31
(see Section 5.6.2). If OB 31 is not loaded, the CPU goes to the stop
mode.
In both cases, error IDs are entered in ACCU-1-L that describe the
error in greater detail.
6
OB 240 to 242: Special Functions for Shift Registers
CPU 928B Programming Guide
C79000-B8576-C898-01
6 - 109