8.3.2
Block Address List in
Data Block DB 0
Data block DB 0 is located in the system RAM of the CPU (beginning
at address E E200H). It contains a list with the start addresses of all
blocks in the user memory of the CPU. The system program generates
(COLD RESTART) or checks (WARM RESTART) this list after
power up; it updates it automatically when you use a programmer to
enter or change blocks.
Address list start addresses
DB 0 has a separate, reserved address list of 256 words in each type of
block. Blocks that are not loaded or have been deleted have the start
address ’0’.
The start addresses of each block address list are specified (see Section
8.2.1).
Block start addresses
The block start addresses in the address lists always point to the first
word after the block header:
••
with data blocks, to data word DW 0
••
with logic blocks, to the first STEP 5 statement (in FBs to the ’JU’
operation before the name and the parameter list).
Since each block is located at a paragraph address (16 word
boundary), each address list entry in DB 0 is restricted to one word
with bits number 4 to 19 of the address.
Location of block
addresses in DB 0
n = E E400H (start address of the PB address list)
Address PB 0
Address PB 1
Address PB 2
Address PB 178
Address PB 179
If ’0’ is entered as
the address, the
block is not
loaded.
DB0
n
n+1
n+2
n+178
n+179
15
0
Fig. 8-6
Block addresses in DB 0
User Memory Organization in the CPU 948
CPU 948 Programming Guide
C79000-G8576-C848-04
8 - 13
Summary of Contents for CPU 948
Page 10: ...Contents CPU 948 Programming Guide 1 2 C79000 G8576 C848 04 ...
Page 32: ...Contents CPU 948 Programming Guide 2 2 C79000 G8576 C848 04 ...
Page 72: ...Data Blocks CPU 948 Programming Guide 2 42 C79000 G8576 C848 04 ...
Page 74: ...Contents CPU 948 Programming Guide 3 2 C79000 G8576 C848 04 ...
Page 154: ...Contents CPU 948 Programming Guide 4 2 C79000 G8576 C848 04 ...
Page 200: ...Contents CPU 948 Programming Guide 5 2 C79000 G8576 C848 04 ...
Page 308: ...Contents CPU 948 Programming Guide 7 2 C79000 G8576 C848 04 ...
Page 324: ...Examples of Parameter Assignment CPU 948 Programming Guide 7 18 C79000 G8576 C848 04 ...
Page 326: ...Contents CPU 948 Programming Guide 8 2 C79000 G8576 C848 04 ...
Page 370: ...Addressable System Data Area CPU 948 Programming Guide 8 46 C79000 G8576 C848 04 ...
Page 372: ...Contents CPU 948 Programming Guide 9 2 C79000 G8576 C848 04 ...
Page 486: ...Contents CPU 948 Programming Guide 11 2 C79000 G8576 C848 04 ...
Page 522: ...PG Functions via the S5 Bus CPU 948 Programming Guide 11 38 C79000 G8576 C848 04 ...
Page 524: ...Contents CPU 948 Programming Guide 12 2 C79000 G8576 C848 04 ...
Page 538: ...Contents CPU 948 Programming Guide 13 2 C79000 G8576 C848 04 ...
Page 546: ...List of Key Words CPU 948 Programming Guide Index 6 C79000 G8576 C848 04 ...