Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Communication Drivers

Configure a CODESYS V3​.x application to include symbols

Configure a CODESYS V3​.x application to include symbols

  • Last UpdatedSep 02, 2024
  • 2 minute read

By default, a CODESYS V3.x application does not include symbols. You must add a Symbol Configuration object to your project, configure the object to include the variables that you want to communicate with, and then rebuild the application to create the symbol file.

Configure your CODESYS V3.x application to include symbols:

  1. Open your project in the CODESYS V3.x application development software.

  2. In the project explorer, right-click Application, and then on the shortcut menu, select Add Object. The Add Object dialog box is displayed.

  3. From the list of objects, select Symbol configuration, and then select Open. A new Symbol Configuration object is added to your project, and it is opened for editing.

  4. In the Symbol Configuration object, add the variables you want to communicate with — move them from the Available variables list on the left to the Selected variables list on the right. If you do not see your variables in the Available variables list, check the following:

    1. For Local Variables (POU variables), the POU containing them must be called in a Task:

      • Add a Task Configuration object to the application.

      • Add a Task to the Task Configuration object.

      • Add the POU to the Task.

    2. For Global Variables, at least one of the variables from the Group must be used in at least one POU that is being called by one Task.

  5. Close the Symbol Configuration object.

  6. On the Build menu, select Rebuild Application.

Once your CODESYS application is configured to include the selected variables, it will automatically create the symbol file and then send it with the application to the runtime.

Note: The location or file path of the symbol file. You might need to copy it to another location so that it can be accessed by other programs.

Related Links
TitleResults for “How to create a CRG?”Also Available in