Skip to main content

Creating and Configuring a Project

What is a project?

. What is a project?
  • A project contains the objects which are necessary to create a controller program ("application"):

    • Pure POUs

      Examples: programs, function blocks, functions, and GVLs

    • Objects which are also required to be able to run the application on a PLC

      Examples: task configuration, Library Manager, symbol configuration, device configuration, visualizations, and external files

  • In a project, you can program multiple applications and connect multiple controller devices.

  • CODESYS manages device-specific and application-specific POUs in the Devices view ("device tree"), and project-wide POUs in the POUs view.

  • For the creation of projects, there are templates which already contain specific objects.

  • Basic configurations and information for the project are defined in the Project Settings and Project Information. For example:

    • Compiler settings

    • User management

    • Author

    • Data about the project file

    The Project Environment provides configuration dialogs for the version compatibility of the project.

  • You save a project as a file in the file system. Optionally, you could combine it with project-relevant files and information into a project archive. It is also possible to save files in a source control system such as SVN.

  • Each project contains the information about the CODESYS version with which it was created. When you open it in another version, CODESYS will notify you about possible or necessary updates regarding file format, library versions, etc.

  • You can compare, import/export projects, and create documentation for them.

  • You can protect a project from being changed, or even completely protect it from being read. By using user management, you can selectively control the access to the project and even to individual objects in the project. For more information, see: Protecting and Saving Projects