Skip to main content

Command: New Project

Symbol: _cds_icon_new_project.png

Keyboard shortcut: Ctrl+N

Function: The command opens the New Project for creating a new project file.

Call: File menu

Dialog: New Project

Function: Selection of a project category and a project template

Call: File → New Project command

You get a project which is equipped with a specific range of objects, depending on the selected template.

Table 67. Categories

Libraries

Projects



Table 68. Templates

Projects category

Empty project

Contains only the Project Settings object

Standard Project

Contains a basic range of objects and libraries

A wizard helps to create the project.

Standard project with Application Composer

Contains a basic range of objects and libraries for working with the Application Composer

A wizard helps to create the project.

Libraries category

CODESYS container library

Library which contains additional libraries only, but no function blocks of its own

CODESYS interface library

Library only for the definition of the interface of a software component

As a result, it contains only objects which do not generate any code (for example, constants, structures, and interfaces).

Empty library

Contains only the Project Settings object

External CODESYS library

Library which is specific to a target system

Implemented as part of the runtime system (in ANSI C or C++)

Name

Name of the project to be created

A default name is displayed, depending on the template. The numeric suffix makes sure that the name in the file system is unique.

You can change the file name, taking into consideration the file path conventions of the operating system. Periods are not permitted in names.

CODESYS automatically adds the corresponding file extension to the selected template.

Location

Storage location for the new project file

_cds_icon_button_threedots.png opens a dialog to search the file system.

_cds_icon_arrow_down.png shows the history of previously used paths.

OK

CODESYS opens a new project. An error _cds_icon_exclamation_mark_red_circle.png symbol next to the input field indicates missing data. When you hover the mouse pointer over it, a tooltip is displayed which tells you what to do.



Dialog: Standard Project

Function: Wizard for creating a standard project

Call: File → New Project command; in the New Project dialog, select the Projects category and Standard project template and then click OK.

Device

List box with PLC devices

In the device view, the selected device is inserted as an object below the root node.

PLC_PRG in

List box with the implementation languages

The automatically inserted PLC_PRG program is created in the selected language.

For more information, see: Creating Standard Projects