Log on to rate and give feedback    1 2 3 4 5 Log on to rate
0
How to How to 11/23/2022
Products: Builder for Function Block
Functionalities: Programming
Product version: 2022

Deleting a Binding

You delete a binding to remove information transfer between two Function Block objects.

Hide
Show More

Two compatible ports can be connected by a binding. Bindings connect the input port of one Function Block object to the output port of another Function Block object.

An input port can have only one incoming binding, but an output port can be bound to multiple input ports. A binding can be created from an input port to an output port or vice versa. When creating a binding starting from an output port, ensure that there are no previous bindings on the input port. You can redirect a binding from an already bound output to a new input port. Bindings are always created within a single Canvas.

Basic and remote bindings

Basic bindings (i.e., a binding directly connecting two ports) can either be done manually or automatically. To avoid having the binding lines extend across the screen, you can use remote bindings . You can convert a basic binding into a remote binding.

You can convert a remote binding into a basic binding.

For more information, see Creating a Binding .

For more information, see Creating a Remote Binding .

Binding styles of basic blocks

To make it easier to distinguish bindings from each other, the connections are color coded based on their data type. You can also choose the shape of your binding. You select one type of binding for the program.  For more information, see Context Menu in Canvas Edit Mode - Binding Styles Submenu .

  • Curve - bindings displayed as a simple Bézier curve between bound ports.

  • Orthogonal - bindings drawn with right angels between each line segment.

  • Straight - bindings displayed as a straight line between bound ports.

It is possible to change the binding style for a program at any time. For more information, see Changing the Binding Style .

Orthogonal bindings will snap to the binding grid (smaller than the block grid) to facilitate the placement of parallel lines. This is not supported when using Classic Editor Style.

Multiple bindings in a component

If a component is created that has two or more bindings to the same source outside the component, only one input port will be created for that source, instead of one for each binding.

Label remote binding blocks

When creating a remote binding, remote binding blocks are given a default label of "RN" (R1, R2, etc.), where N is a consecutive index that makes the label unique. This label can be changed by the user. The names of both the source and destination remote binding blocks are always the same (i.e., renaming one will change the name of the other).

Multiple remote bindings

If multiple remote bindings are coming out of a single output port, they are displayed in the drop-down list visible when you scroll over the reference button link button. Related blocks are displayed with their full name (i.e., module and label) in alphabetical order. This order cannot be changed manually. Clicking on the reference button will display the target block (if it is not already visible) and select the block and the input port of the block belonging to the binding.

Automated bindings

When a Function Block object is added using the Create New Object dialog box, some bindings are performed automatically.

For more information, see Adding and Binding a Block .

For more information, see Adding and Binding an Operator .

For more information, see Adding and Binding an Expression Block .

To delete a binding or a remote binding
  1. In Function Block Builder Edit Mode , right-click the binding you want to remove.

  2. On the Context Menu in Canvas Edit Mode select Delete .

Community Content

Product version

Language