Beckhoff Automation GmbH & Co. KG TX1200 — 4.4 Objects

Individual Components Folders at the same level in the hierarchy must have distinct names. Folders on different levels can have the same name. A folder can not have the same name as an object located on the same level. If there is already a folder with the name “New Folder” on the same level, each additional one with this name automatically receives an appended, serial number (e.g. “New Folder 1”). Renaming to a name that is already in use is not possible. 'Expand nodes' 'Collapse nodes' With the command Expand the objects are visibly unfolded which are located in the selected object. With Collapse the subordinated objects are no longer shown.

With folders you can open or close them with a double mouse click or by pressing .The context menu of the Object Organizer which contains this command appears when an object or the object type has been selected and you have pressed the right mouse button or + . 'Project' 'Object Delete' Shortcut: With this command the currently selected object (a POU, a data type or global variables), or a folder with the subordinated objects is removed from the Object Organizer and is thus deleted from the project. For safety you are asked once more for confirmation. If the editor window of the object was open, then it is automatically closed.

If you delete with the command "Edit" "Cut", then the object is parked on the clipboard. 'Project' 'Object Insert' Shortcut: With this command you create a new object. The type of the object (POU, data type or global variables) depends upon the selected register card in the Object Organizer. Enter the name of the new object in the dialog box which appears. Remember that the name of the object may not have already been used. Take note of the following restrictions: The name of a POU can not include any spaces A POU can not have the same name as another POU, or a data type. A data type can not receive the same name as another data type or a POU.

A global variable list can not have the same name as another global variable list. An action can not have the same name as another action in the same POU. A visualization can not have the same name as another visualization. In all other cases, identical naming is allowed. Thus for example actions belonging to different POUs can have the same name, and a visualization may have the same as a POU. In the case of a POU, the POU type (program, function or function block) and the language in which it is programmed must also be selected. 'Program' is the default value of Type of the POU , while that of Language of the POU is that of most recently created POU.

If a POU of the function type is created, the desired data type must be entered in the Return Type text input field. Here all elementary and defined data types (arrays, structures, enumerations, aliases) are allowed. Input assistance (e.g. via F2 >) can be used. TX1200 88 Version: 1.3