The following option in the Enhanced tab of the compiling options dialog box defines how complex variables are managed at Runtime Service:

Check

Description

Fixed_Image

Store complex variables in a separate segment.

If this option is set, then all complex variables are stored separately from other variables in the memory of the Runtime Service. If not, complex variables are stored together with single variables.

attentionAttention

This option is not supported by Runtime Service version 2.20 or earlier.

This option must be used carefully. Setting up this option enables more programming possibility regarding complex variables and extends the capacity of the Runtime Service memory. On another hand, the Runtime Service application may have lower performance when this option is set. It is recommended to keep this option off as far as you do not need extra features related to it. This ensures that your application has highest Runtime Service performances.

Complex variables are arrays, structures, and instances of function blocks. When this option is set, the following features are allowed for programming:

  • You can use arrays of structures.
  • You can use arrays of FB instances.
  • You can pass any complex data (array, structure, instance) to a UDFB or sub-program.
  • There is nearly no limitation in the amount of complex data declared.
    (theorically up to 4GB - but practically limited by the memory available in the Runtime Service)

Management of complex variables at Runtime Service

IEC 61131-3 Automation platform > IEC 61131-3 Programming Environment > The Workspace > Menu bar > Project > Project settings > Management of complex variables at Runtime Service

Previous chapterNext chapter


Created with the Personal Edition of HelpNDoc: Effortlessly Support Your Windows Applications with HelpNDoc's CHM Generation