Creation of Links between Blocks
Overview
After you have positioned the blocks in the workspace, you can link them together. To do this, you link the output of a block to the input of another block. You can also loop an output back to the input of the same block.
General Rules
There are basic rules that apply when placing and connecting blocks:
-
One or more connecting wires attached together form a wire node. This is indicated in the workspace by a red dot. If wires cross without a red connection dot, it means they are not connected.
-
Only one output can be attached to each wire node.
-
Connections between boolean and register data are prohibited.
-
Data typically flows from left to right.
Link Between Blocks
The following procedure describes how to link blocks together:
-
Place the mouse over the first block.
Result: One or more squares become visible on the block border, and the type of output (analog or boolean) is indicated.
-
Click the left mouse button and hold it down.
-
With the button held down, move the cursor over the input of the block you want to link to.
Result: One or more squares become visible on the block border. If the square is green, a connection between the two blocks is possible. A red square indicates that a connection is not possible. The type of output (analog or boolean) is also indicated.
NOTE: Inputs and outputs have to be of the same type: a Boolean output is linked to another Boolean output. If the inputs or outputs are not the same, the FBD editor will display a pop-up window to indicate that origins and destinations are not of the same type. -
Release the mouse button.
Result: A line and a number are shown between the two linked blocks.
-
Repeat steps 1 to 4 to link all the blocks.
Link Number
There are two types of wires:
-
The Boolean wire, which will have a number beginning with B.
-
The Register wire, which will have a number beginning with R.
The wire number is automatically incremented in chronological order.