15 OPC UA
Modular PLCs XControl: XC-104-…, XC-204-…, XC-303-… 01/23 MN050005EN Eaton.com 151
15 OPC UA
OPC Unified Architecture, or OPC UA for short, is a standardized communi-
cation protocol for exchanging data between machines that makes it possi-
ble to use all devices universally.
CODESYS V3.5.9 and higher supports OPC UA.
The OPC UA server is integrated into the PLC. When the PLC starts, the
OPC UA server will be started automatically as well.
OPC UA's scope of functionality matches OPC DA's scope of functionality.
The URL for the OPC UA server needs to be entered into the OPC UA client:
„opc.tcp://<IP-Address>:4840“
Just like with OPC DA, the symbol list needs to be set up in X-SOFT-CODE-
SYS 3.
To run the OPC UA server, additional information needs to be loaded onto
the PLC. The symbol configuration will be generated during the download for
this purpose.
• Basic types of derived function blocks
• Contents of attributes assigned with compiler pragma directives
• Tag type (INPUT / OUTPUT / IN_OUT)
To generate the symbol configuration, follow the steps below:
▶ Select the application and open the context menu
▶ Click on "Add object" and "Symbol configuration."
▶ Please specify a file name.
▶ Enable the "Support OPC UA functionalities" option.
▶ Confirm with OK.
The symbol configuration editor will appear.
You can use this editor to define all the tags that should be transferred.
The symbol configuration will be updated with the next download or online
change.