Technical data

8.3.3
RI / RJ Area
The RI area is an area 256 words long in the internal system RAM of
the CPU. It occupies addresses E800H to E8FFH.
The RJ area is an area 256 words long in the internal system RAM of
the CPU. It occupies addresses E900H to E9FFH.
You can use the entire RI area (RI 0 to RI 255) and the entire RJ area
(RJ 0 to RJ 255) for your own purposes.
Only an overall reset can clear the RI / RJ areas (zeros entered).
Continuation of the example (address and length of DB 50):
b) Using the special function organization block OB 181
"test data blocks (DB/DX)":
OB 181 (see Section 6.16) executes the same function as described in
example 2 / a). In addition to this function, it also determines whether
the data block is in the user memory (RAM or EPROM submodule) or in the
DB RAM.
:L KY1,50 Data block DB 50
:JU OB 181 "Test data blocks (DB/DX)"
:JC =NIVO Jump if block does not exist
:JM =PROM Jump if in EPROM submodule
:JZ =ANWE Jump if in RAM submodule
:JP =DBRA Jump if in DB RAM
:JU = FEHL Jump to error processing
NIVO : Data block does not exist
:
:BEU
PROM : Data block is in the user memory
: (EPROM submodule)
:BEU
ANWE : Data block is in the user memory
: (RAM submodule)
:BEU
DBRA : Data block is in the DB RAM
:
:BEU
FEHL : Error processing
:
:BE
Result: ACCU-1-L: Start address of DB 50
ACCU-2-L: Length of DB 50
RLO = 1 if DB 50 does not exist
User Memory Organization in the CPU 928B
CPU 928B Programming Guide
8 - 14 C79000-B8576-C898-01