TwinCAT PLC - Error codes

Error type

Description

PLC compiler error

Maximum number of POUs (...) exceeded

PLC compiler error

Out of global data memory ...

Error POUs

For each function block one POU (process object unit) is created. 256 function blocks are available by default.

TwinCAT PLC - Error codes 1:
Maximum number of POUs exceeded

If libraries are integrated this value may be insufficient. In this case, the number of POUs should be increased.

To this end, open in PLC Control under Projects/Options...

TwinCAT PLC - Error codes 2:
Menu path Projects / Options / Controller Settings

...the controller settings.

TwinCAT PLC - Error codes 3:
Controller settings

Changing these settings will deactivate online changes.

Global memory error

TwinCAT PLC - Error codes 4:
Global memory insufficient

2 x 16 kbyte of data are available by default. If large data quantities are to be used, this range should be increased. A maximum of 14 data segments are possible for the BX.

TwinCAT PLC - Error codes 5:
Menu path Projects / Options / Build
TwinCAT PLC - Error codes 6:
Build