8.1
Structure of the Memory Area
The memory of the CPU 948 is essentially divided into the following
areas:
Memory area
Data width
Location
User memory for:
OBs, FBs, FXs, PBs, SBs, DBs, DXs
16 bits
CPU
internal
Serial communications interface area:
RI, RJ
System area:
RS, RT
Timers:
T
Counters:
C
Flags:
F
Flags:
S
Process image (PI) inputs/
outputs:
PII, PIQ
16 bits
16 bits
16 bits
16 bits
8 bits
8 bits
1)
8 bits
Peripheral area,
divided into:
"P" peripherals
"O" peripherals
Interprocessor communication flags
Coordinator (COR) (semaphore, ...)
Dual-port RAM pages (CP, IP, COR 923C)
Distributed peripherals
Hardware registers
8 bits
8 bits
8 bits
8 bits
8/16 bits
8 bits
8/16 bits
On the
S5 bus
1)
S flags occupy 8 bits in the 16-bit area. The high byte is undefined.
The next section lists the addresses of the memory areas shown.
Note
When using STEP 5, you should not access a memory register
within an operand area (e.g., flags) directly via the absolute
address of the memory register. This can result in undesirable
operating statuses. Access it only relative to the base address of its
operand area.
Direct access to the areas I, Q and F result in ’FFH’ in the high
byte and the data in the low byte. For direct access to S flags, the
high byte is undefined!
Table 8-1
Structure of the memory area
Structure of the Memory Area
CPU 948 Programming Guide
8 - 4
C79000-G8576-C848-04
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 ...