Help on Optimization

The settings on this tab are used to adapt the generated object dictionary as C code on application-specific requirements.
Note: These settings will only have an affect outside of manufacturer or device-specific sub-segments.

Storage Class (compiler specific)

This setting specifies the compiler-specific memory specifier: e.g. const or xdata.

Create Variable

This setting specifies if a variable shall be created for the object in C code. Otherwise the variable is declared as extern, if Create extern Declaration is set.
off: variable is not created
on: variable is created

Create extern declaration

This setting specifies the generation of an extern declaration for the variable.
off: extern decalaration for the variable is not generated
on: extern decalaration for the variable is generated

Same Structure for all Subs

This setting optimize objects of object code ARRAY by using of limit and default values of sub-index 1 for sub-indices 2-n, this means that all array elements uses the same limit and default values as defined for sub-index 1 of the object with except of sub-index 0.
off: each sub-index of the object can be specified with various properties
on: each sub-index of the object uses the properties of sub-index 1

Const description structure

This setting specifies the memory location of the object description. Please note that this setting depends also on the memory model (e.g. LARGE).
off: object desciption is stored in RAM
on: object desciption is stored in ROM

Virtual object

By this setting the object is not created in the object dictionary. The application is responsible to create and handle a variable for this object. This property is only available for manufacturer-specific objects. The object is documented in the device descriptions.
off: variable for the object is created
on: variable for the object is not created

Create type definition

This setting specifies if a data type shall be defined in the generated C code.
off: data type is defined in the application code
on: data type is defined in the code generated by the Design Tool

Constant default value

This setting specifies the memory location of the default value of the object. For objects of data type DOMAIN this setting must be deactivated.
off: default value is stored in RAM
on: default value is stored in ROM

Constant limits

This setting specifies the memory location of the limit values of the object. For objects of data type DOMAIN, VISIBLE_STRING, OCTET_STRING this setting has no effect.
off: limit values are stored in RAM
on: limit values are stored in ROM

Reset

Pressing this button rejects current changes and restores the last values.



Copyright port GmbH