Editing Interface Elements
When the Interface item of a library element is visible in the
Worksheet, for instance when the root node
of the
Element Navigator is selected, you can
use popup dialogs and mouse gestures to edit the interface elements of
function block types, device types, and
resource types.
Adding Elements
Elements can added to the interface using the
Add
option of the Worksheet's popup menu.
- You can also add internal variables to Basic and Simple FB types from the
Worksheet menu. These will show up as an attached list at the bottom
of the FB interface block.
- Adapter instances (Plugs and Sockets) can only be
added when editing the FB network of a composite FB type.
Editing Elements
An interface element can be
edited by
double-clicking on its type name, e.g.,
EVENT
or
REAL
, or via the
Edit item of the corresponding pop-up menu.
- Adapter instances (Plugs and Sockets) can only be
edited in the FB network of a composite FB
type.
Moving Elements
An interface element can be moved up or down in its list of elements
via the
Up/Down
buttons on the toolbar.
Associating Elements
An event can be associated with a variable by using the
Alt+Drag gesture between the event's type
name, e.g.
EVENT
, and the variable's type name, e.g.,
BOOL
. Using this gesture where an association already exists will delete
the association.
Deleting Elements
An interface element can be deleted by using the Delete item of
the pop-up menu obtained by right-clicking on the element's type name.
- If the element is in use, e.g., in an ECC transition or a
function block diagram in the body of a function block, it cannot be
deleted.
- Adapter instances (Plugs and Sockets) can only be
deleted when editing the FB network of a composite
FB type.
Last updated: 2013-10-28.
©2011,2013 Holobloc Inc.
Licensed under the Academic
Free License version 3.0.