You can edit function block networks in applications, composite function block types, device types and instances, and resource types and instances, as well as algorithms in the FBD (Function Block Diagram) language defined in IEC 61131-3.
Instances
- You can Add named instances of Functions, Function Block types, Resource types or Device types, as appropriate for the type of diagram being edited, by using Drag and Drop (DnD) from the Library Navigator.
-
You can also use DnD to add instances of Adapter
types to the FB network of a Composite
FB type.
- An adapter that is dragged into the left side of the Worksheet will become a socket and will also appear at the left side of the FB interface.
- An adapter that is dragged into the right side of the Worksheet will become a plug and will also appear at the right side of the FB interface.
- Adapter instances can only be edited in the FB network, not on the interface diagram.
- You can Change the type of an instance (within limits) by dropping a new type from the Library Navigator onto its name.
-
You can also
Copy and Paste
within or between diagrams:
- Click on the Copy menu item of the instance to place a copy of it on the FBDK's internal clipboard.
- Open a popup menu at the location in the diagram (or a diagram in a different library element, if you wish) where you want to paste a copy of the element stored on the clipboard.
- If it is feasible to perform the paste operation, the popup menu will have a Paste option that you can choose.
- A dialog will open so that you can edit the name and comment of the new copy.
- You can Select an instance and see its declaration in the text pane by clicking on its instance name (the name that appears over the top of the block).
- You can change the position in the diagram of one of these elements by dragging on its instance name.
- You can Edit the name and comment of the instance by double-clicking on the instance name.
- You can Delete an instance by using its pop-up menu.
- You can open the definition of the block's Type in a new or existing tab by double-clicking in the body of the block.
Connections
- You can Add connections to an FBD using the Connect gesture.
- You can Select a connection and see its declaration in the text pane by clicking on a vertical line segment or the middle segment of a 5-segment line.
- You can double-click on a connection's selection point (see above) to get a simple dialog for editing its comment.
- You can Delete a connection by using its popup menu.
- The diagram will automatically toggle between 3- and 5-segment representations of a connection as necessary when FB instances are moved.