Editing Implementations
Several implementation editors are available for components and projects, basic elements – i.e. variables, parameters, and system constants (normal and user-defined) – and methods, processes, and runnable entities. Depending on the kind of the elements, fields are deactivated, or additional tabs appear, in the implementation editor for basic elements, however, the structure is always the same.
Implementations are independent from data sets. Nevertheless inconsistencies between both can arise. In the context of a project, the value of an element defined in its data set can exceed the value range defined in the implementation. It is the user’s responsibility to use consistent project settings.
Note |
|---|
At code generation time, the initialization values of basic elements must fit the value ranges defined by their implementations. Otherwise an error message is generated for parameters, a warning for variables. |
For literals, the most suitable implementation is derived automatically by the code generation, so it does not have to be specified. Their implementation is derived from the first assignment made to them. The same is true for constants.
See also
Implementations of Components/Projects
Implementation of Scalar, Non-Logical Elements
Implementations of Method-/Process-/Runnable-Local Variables
Implementations for Temporary Variables
Implementations of Arrays, Matrices and Characteristic Lines/Maps
Specifying the Implementation for a Logical Element
Specifying an Enumeration Implementation
Method / Process / Runnable Implementations