“Memory Layout” Settings

The tab “Memory Layout” contains all information about the memory mapping within the CPU:

../_images/ecd7f939e38c69a00a33139000eba54e

The parameters have the following meaning:

Parameter Meaning
Size (Code)

Code area size (user program)

see chapter User program size and operands of AC500 CPUs

Size per segment (Global)

Data area size (VAR … END_VAR or VAR_GLOBAL & END_VAR)

see chapter User program size and operands of AC500 CPUs

Area (Memory)

Size of the addressable flag area (%M area)

see chapter User program size and operands of AC500 CPUs

Area (Input)

Size of the input process image (%I area)

PM5x1: 6000 hex = 24 kB

Area (Output)

Size of the output process image (%Q area)

PM5x1: 6000 hex = 24 kB

Size (Retain)

Size of the area for retentive data (VAR RETAIN)

see chapter User program size and operands of AC500 CPUs

Retain in own segment If activated: Retentive data are administered in an own segment
Total size of data memory Can be ignored, set in firmware
Maximum number of POUs

Maximum number of blocks allowed in the project

see chapter User program size and operands of AC500 CPUs

The following applies:

- per function

- per program

- per function block

- per data type

1 POU

1 POU

2 POUs

1 POU

For library POUs the same number of POUs for the relevant type is valid.
Maximum number of global data segments 1 = all global data are administered in one segment.

The numbers for the individual areas are required for administration in the firmware. The user cannot change any of these parameters.