Managing Objects in the FBD/LD Code Editor
The graphical FBD/LD code editor is operated like a standard Windows application.
Selecting one or more objects
The editor provides the following possibilities to select one or more objects:
Left-click a single object to select it.
To select several non-adjacent objects, left-click the objects to be selected while holding down the <Ctrl> key.
To select a group of adjacent objects, left-click into the code worksheet and draw a frame around the objects to be selected while holding the left mouse button down.
To select all objects in the active code worksheet, press <Ctrl> + <A> or select 'Edit > Select All'.
NOTE:
To deselect an object, hold down the <Ctrl> key and left-click the object again. This clears the selection of that object; all other objects remain selected.
Copying objects
How to duplicate objects by drag & drop (only within same worksheet):
Select the objects to be copied as described above.
Press and hold down the <Ctrl> key.
Left-click on the selected objects and drag the copy to a free position while holding the mouse button down.
Release the <Ctrl> key and the left mouse button to drop the copy.
How to copy objects using the clipboard:
Via the clipboard, objects can be copied in the same or any other graphical worksheet.
Select the objects to be copied as described above.
Select 'Edit > Copy' or press <Ctrl> + <C>.
If the selected objects do not form a logical assembly, the 'Copy Control' dialog appears.
Click 'Show copy' if you want to see which objects are going to be copied to the clipboard.
Click 'Copy' if you want to copy the logical assembly of objects to the clipboard.
To paste the copied objects, right-click on a free position and select the 'Paste' command from the context menu.
Cutting and pasting objects
Cut objects can be pasted in the same or any other graphical worksheet.
Select the objects to be cut/pasted as described above.
Press <Ctrl> + <X> or select the 'Cut' command from the 'Edit' menu or from the context menu.
If the selected objects do not form a logical assembly, the 'Cut Control' dialog appears.
Click 'Show cut' to see which objects will be moved to the clipboard.
Click 'Cut' to move the logical assembly of objects to the clipboard.
To paste the cut objects, right-click on a free position and select the 'Paste' command from the context menu.
NOTE:
If a collision occurs when pasting the object to a position which is not free, the editor cancels the paste operation automatically. In this case you have to paste the object again and drop it at a free worksheet position.
Moving objects
How to move objects by drag & drop:
Select the objects to be moved as described above.
Drag the selection to a free position holding the left mouse button down.
NOTE:
When moving connected objects, the editor automatically rearranges the connection lines.
NOTE:
Only comments are permitted to overlap other objects.
How to move objects by stretching/compressing the worksheet:
An easy way of moving entire networks is to stretch/compress the worksheet.
Left-click in the worksheet to set an insertion mark.
From the 'Edit > Stretch / Compress > ...' submenu select the respective command:
'Insert Columns' moves objects right of the insertion mark to the right
'Delete Columns' moves objects right of the insertion mark to the left
'Insert Rows' moves objects below the insertion mark to the bottom
'Delete Rows' moves objects below the insertion mark to the top
NOTE:
These commands are also available in the context menu of the editor.
Deleting objects
It is not possible to delete objects if the deletion would result in invalid network structures. When deleting contacts or coils in an LD network, the other contacts or coils remain at their position connected to a line. After deleting this line, the objects remain with connection points.
Select the objects to be deleted as described above.
Press the <Del> key to delete the marked object. If the selected objects do not form a logical assembly, the 'Delete Control' dialog appears.