Symbol:
The editor is used to select the object types and data types of the OPC UA information model which you want to use in the open CODESYS project. The selected OPC UA types are converted to IEC types in the editor.
For more information see: ⮫ “Mapping of OPC UA Types to IEC Types ”
|
“Browse Information Model” |
List box The currently used information model and the information models which are referenced by the current model are displayed. The dependencies depend on the respective information model. The OPC UA base model is always displayed. |
|
“Generate IEC declarations” |
Generates an IEC declaration for all OPC UA types converted into an IEC type The generated IEC types are saved in a folder (example: “OPC Objects”) in the “Devices” view and can be used in the implementation of the IEC code. When implementing the CODESYS project, you can select them in the “Input Assistant” dialog. When the IEC declarations are generated, the suitable attributes are automatically
added to the generated POUs (example: Note: The user should not change the attributes which have been added by the system. When the IEC type cannot be created, the entry |
|
“Data Model” |
|
|
Left area: OPC UA data model |
|
|
“Types” |
Display of the OPC UA data types and object types in a tree structure When you drag an OPC UA type to the right area, CODESYS converts the OPC UA type into the corresponding IEC type which can be used in the implementation of the CODESYS project. In this case, only the root node of an OPC UA type can be dragged to the right area. For a detailed description of the assignment of individual OPC UA types to the corresponding IEC types in the mapping operation, see the chapters "Mapping of OPC UA Types to IEC Types" and "Mapping of Reference Types". |
|
“Element Type” |
OPC UA element type |
|
“Reference Type” |
OPC UA reference types Example: For a description of these reference types, see the chapter "Mapping of OPC UA Types to IEC Types". |
|
“Modelling Rule” |
|
|
Right area: Object types and data types of the OPC UA information model which are mapped to IEC types |
|
|
“Name” |
Name of the IEC POU or data type in the project By default, the name of the type is displayed in the OPC UA information model. OPC UA also supports names which are invalid in IEC. In these cases, CODESYS automatically generates a valid IEC name. You can change the name. |
|
“IEC Type” |
IEC type to which the OPC UA type was mapped (example: |
|
“OPC UA Type” |
Corresponds to the “Element Type” displayed in the left area |
|
“Generate member” |
|
: When the
: When the