Compilation |
The project has to be compilable without errors in CODESYS V2.3 Gateway Server. Note: CODESYS stills issues warnings in V3 when compiling. These are caused by implicit conversions, which can lead to a loss of information (for example through sign changes). CODESYS V3 checks "case" statements against the switch variable: |
|||
Controller configuration |
The “Controller Configuration” of a CODESYS V2.3 Gateway Server project cannot be imported into V3. You have to recreate the device configuration and re-declare the variables used in the controller configuration. |
|||
Network Variables |
For network variables, CODESYS creates V3 GVL objects and imports the variable declarations. However, the network properties are not imported. See the description of the network variable exchange for this. |
|||
Libraries |
All variables and constants that are used in a library also have to be declared in the library. It has to be possible to compile the library in CODESYS V2.3 Gateway Server without errors. |
|||
Syntactic and semantic restrictions since CODESYS V2.3 Gateway Server |
|
|||
Visualization |
||||
Placeholders and their replacement |
Placeholders |
VAR_INPUT |
Usage |
Replacement |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Problematic placeholders |
|
|||
Non-importable elements |
Trend, ActiveX: Importing is not possible because the implementation differs considerably. In V3, a corresponding warning is issued and a corresponding manual reproduction is required. |
|||
Programming languages |
ST, IL, FBD |
No restrictions |
||
LD |
CODESYS imports function blocks with parallel branches in such a way that the part before the branch is repeated for each branch. This corresponds to the generated code which CODESYS V2.3 Gateway Server creates for parallel branches. ![]() |
|||
SFC |
Explanation: In V3, the implicit variables which CODESYS creates for actions are given an underscore character as prefix. An invalid identifier with a double underscore character would result. |
|||
CFC |
|