Custom Workspace Operations
Different useful operations can be performed in order to give a better organization of your project.Creating a folderIn order to create a folder select the root item of the project tree or, if you want to nest it, an existing folder then choose the [Add>New folder] voice of the context menu.This operation adds a new customizable folder (by default named New folder) unit ready to be renamed.Editing folder properties – Set folder as read-onlyYou can edit the folder properties choosing Edit folder properties from its context menu.Once inside the folder properties window, you can choose to mark the folder as read only; doing so you’ll be asked to set a password. The content of the folder is now not modifiable until someone remove the read only attribute by inserting the correct password.Editing folder properties – Set folder as a library folderStill from the folder properties window, you can mark the folder as a library folder (select Enable from the Library generation options section). Doing so you’ll be allowed to set other informations about the library folder (like the version number or a description).If your folder is a library folder, it’ll be represented with a different icon in the tree:In the context menu of the folder, now, you’ll find a new voice: Generate library; selecting it will create a new .plcprj library in the project folder (inside AutoGeneratedLibraries sub folder) with the name of the library folder and all of its content.This is an easy and efficient way to create complex libraries.Creating a Global variables GroupIn order to create a global variables group select the root item of the project tree or an existing folder then choose the [Add>New global variables group] voice of the context menu.This operation adds a new customizable folder (by default named New_var_group1) unit ready to be renamed.Rename a unit (folder or Global variables group)In order to rename a global variables group or a folder select it than choose [Rename] voice of the context menu.This operations makes the name of the unit ready to be renamed.Deleting a unit (folder or Global variables group)In order to delete a global variables group or a folder select it than choose [Delete] voice of the context menu.If the units contains any child you will be prompted for three possibilities:
- Delete all child elements too (this may impact the PLC).
- Do not delete child elements, they will be moved upwards following the project tree.
- Cancel the operations and do nothing.