Creating new objects and folders

How to create a new →object or a new →folder in the →project:

  1. Select a folder of the project in which you want to create the new object/folder. This existing folder will be the parent folder. (But it is possible to change the parent folder in the dialog when entering the name of the object/folder).
    Recommendation by logi.cals on the location of new objects:
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg Create a new object only within a folder that is displayed within the view containing the projects/resources by default. Example: folder src
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/error.svg Do not create a new object within a folder that is hidden within the view containing the projects/resources by default. Examples: folder target and src-gen – If you do anyway, it is not possible to use blocks of such objects within the editors (see "Block or library is not available in projects" for details).

  2. In menu File or from the context menu of the folder, select New and one of the following commands (depending on the →resource you want to create). See " List of possible objects ".
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg By using the provided command Other... instead, a wizard is opened. In this wizard, expand the group Other or General, select one of the resources in this group and click Next > .
    images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg Your logi.CAD 3 version might provide several object templates in a wizard, when you select the command for an object. If in doubt about what to select, the best practice is to select the object template Default template and to click Next >.

  3. In the dialog or in the wizard, enter the name of the object in File name or Folder name.
    If other fields are provided as well, enter/select these fields as appropriate.

  4. If you want to create a →linked resource, click Advanced >>. Then check Link to file in the file system or Link to alternate location (Linked Folder), type in the full path or click the button Browse to locate the file or folder on the file system.

  5. Click Finish.
    Result: The view displays the appropriate resource. It is opened in the assigned default editor.

List of possible objects



Command available in

Ressource

Command

menu "File"

context menu

project

See "Creating new project", if you want to create a project.



library configuration

Library Configuration
(not provided in all variants of logi.CAD 3)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

Data type

Data Type

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg A →data type is an ST-object with the ST-syntax for the respective data type.

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

FBD-object

FBD Program, FBD Function Block and FBD Function
(not provided in all variants of logi.CAD 3)


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

global-object

Global-Object


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

LD-object

LD Program, LD Function Block and LD Function
(not provided in all variants of logi.CAD 3)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

ST-object

ST-Object

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

ST Program, ST Function Block and ST Function

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/information.svg These objects are ST-objects with the ST-syntax for the respective language element →program, →function block or →function.


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

folder

Folder


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

generic
object

File


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

More commands to create other objects might be provided in your used logi.CAD 3 version.



Command available in


Ressource

Command

menu "File"

context menu

ST-interface

ST-Interface

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

device object

Device Object
(not provided in all variants of logi.CAD 3)

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

PLC-object

PLC-Object

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

VarCfg-object

VarCfg-Object


images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/check.svg

List of objects and the default editor

Resource (with icon)

Meaning

Assigned default editor

images/download/thumbnails/409862664/LibraryConfig-version-1-modificationdate-1531214532364-api-v2.png

name

→library configuration (object to create →libraries)
Library configurations have the file extension .lc3lib. See the following note.

editor for library configurations – see " Syntax for library configuration "

images/download/thumbnails/443057714/LibraryReference-version-1-modificationdate-1586874261773-api-v2.png

libraries

→library reference (object to manage →libraries) – By default, the library reference is not visible within the view containing the projects/resources and it cannot be created.
The library reference has the file extension .libref. See the following note.

editor for library reference – see "Using the library reference and its syntax"

images/download/thumbnails/409862713/IconFBD-version-1-modificationdate-1531214751433-api-v2.gif

name

FBD-object (object with FBD-code or logic)

FBD-objects have the file extension .iecfbd. See the following note.

FBD-editor

images/download/thumbnails/409862651/IconGlobal-version-1-modificationdate-1531214458366-api-v2.png

name

global-object (object for the central declaration of global variables)

Global-objects have the file extension .global. See the following note.

ST-editor

images/download/thumbnails/460423505/IconLD-version-1-modificationdate-1615279875976-api-v2.png

name

LD-object (object with ladder diagram)

LD-objects have the file extension .iecld. See the following note.

LD-editor

images/download/thumbnails/409862706/IconST-version-1-modificationdate-1531214719389-api-v2.png

name

ST-object (object with ST-code for your application in ST)

ST-objects have the file extension .iecst. See the following note.

ST-editor

images/download/thumbnails/409862701/IconFolder-version-1-modificationdate-1531214698134-api-v2.png

name

→folder

images/download/thumbnails/409862696/IconFolderLinked-version-1-modificationdate-1531214679381-api-v2.png

name

→linked folder

images/download/thumbnails/409862674/IconFileGeneric-version-1-modificationdate-1531214577892-api-v2.png

name

generic object

text editor

You may open a text editor without creating a file first: context menu for project, New, Other..., group General, Untitled Text File

More objects and default editors might be provided in your used logi.CAD 3 version.

Resource (with icon)

Meaning

Assigned default editor

images/download/thumbnails/409862706/IconST-version-1-modificationdate-1531214719389-api-v2.png

name

ST-interface (object with the interface for your application in C)

ST-interfaces have the file extension .iecif. See the following note.

ST-editor

images/download/thumbnails/418939525/IconDevice-version-1-modificationdate-1539089454151-api-v2.png

name

device object (object for the device configuration)

Device objects have the file extension .device. See the following note.

editor for the device object

images/download/thumbnails/409862718/IconPLC-version-1-modificationdate-1531214773884-api-v2.png

name

PLC-object (object with information on PLC, available as ST-code)

PLC-objects have the file extension .iecplc. See the following note.

editor for PLC-object

images/download/thumbnails/409862669/IconVarCfg-version-1-modificationdate-1531214555383-api-v2.png

name

VarCfg-object (object for the central declaration of VAR_CONFIG sections)

VarCfg-objects have the file extension .varcfg. See the following note.

ST-Editor

Note: The file extensions (e.g. .iecst) are not displayed in the view containing the projects/resources. But if you rename the appropriate objects in logi.CAD 3, the appropriate file extension is visible. Do not manipulate the file extension! If you do nevertheless (e.g. you delete the file extension or you change the file extension to upper case letters), the file is not recognized as appropriate object (e.g as ST-object) any longer.