Integrate tags from CoDeSys
- Last UpdatedOct 29, 2026
- 4 minute read
This task describes how to add a CoDeSys 2.x or CoDeSys 3.x project as a tag integration source in your AVEVA Edge Edge project.
Before you begin this task, you must do the following:
-
Configure your CoDeSys project to generate a new symbol file with the correct variables. The symbol file is like an index of the CoDeSys tags that you want to integrate into your project. For more information, see either Configure your CoDeSys 3.x project for tag integration or Configure your CoDeSys 2.x project for tag integration.
-
Rebuild your CoDeSys project, and then send it to the PLC.
-
Make sure the PLC is running and available on your network, and then note its IP address and/or runtime address.
If you want to be able to browse the CoDeSys tags offline โ that is, when the PLC is not running โ then you must also copy the new symbol file to your AVEVA Edge project folder.
To integrate tags from a CoDeSys project:
-
On the Project tab of the ribbon, in the Settings group, click Communication.
The Project Settings dialog box is displayed, with the Communication tab selected.
-
In the Tag Integration area, click Add.
The Tag Integration Source dialog box is displayed.
-
In the Type list, select Integrated if it is not already selected.
-
In the Provider list, select CoDeSys.
-
In the Name box, type an appropriate name for this tag integration source.
This name will be added as a prefix to the names of the integrated tags. For more information, see How integrated tags may be renamed in your project.
-
Click Add.
The CoDeSys Tag Integration dialog box is displayed.
-
In the Runtime version list, click either CoDeSys 3.x or CoDeSys 2.x, depending on the version of your CoDeSys project.
-
If you selected CoDeSys 3.x, configure the corresponding settings.

-
In the Runtime Address box, type the address of the CoDeSys runtime.
To find this address, use the CoDeSys programming software to open your CoDeSys project.
A typical runtime address is 0194.
-
If you are using a gateway server to manage communication with the CoDeSys runtime, select the Gateway IP check box, and then type the IP address and port number of the gateway server.
Please keep in mind that the address of the gateway server is relative to your AVEVA Edge project runtime server, so if both of them run on the same computer, you can use the default address 127.0.0.1 (that is, localhost). Otherwise, if the gateway server and the AVEVA Edge project runtime server run on different computers, or if you are testing your AVEVA Edge project on a development workstation before you send it to another computer, you should specify the actual address of the gateway server.
-
-
If you selected CoDeSys 2.x, configure the corresponding settings

-
In the PLC IP Address and Port boxes, type the IP address and port number of the PLC that is running your CoDeSys project.
-
If you are using a gateway server to manage communication with the PLC, select the Gateway IP check box, and then type the IP address and port number of the gateway server.
Please keep in mind that the address of the gateway server is relative to your AVEVA Edge project runtime server, so if both of them run on the same computer, you can use the default address 127.0.0.1 (that is, localhost). Otherwise, if the gateway server and the AVEVA Edge project runtime server run on different computers, or if you are testing your AVEVA Edge project on a development workstation before you send it to another computer, you should specify the actual address of the gateway server.
-
In the Level list, select the appropriate protocol to communicate with the PLC.
In most cases, you should select L4 (that is, Level 4).
-
-
If you also want to browse the CoDeSys tags when the PLC is not running, enable offline browsing and locate the symbol file that you copied to your AVEVA Edge project folder.
-
Select the Symbol file browsing (offline) check box.
-
Click Browse, and then locate the symbol file.
-
-
Click OK to finish the configuration and close the dialog box.
If the configuration is successful, the CoDeSys tags will be immediately available in the Object Finder. For more information, see Use the Object Finder to select integrated tags.