2.4 Connecting Blocks

To build a control algorithm the blocks have to be put onto the drawing canvas of a diagram, their input and outputs interconnected and their parameters adjusted. It is expected that the user is familiar with the Function Block Diagram (FBD) graphical language for programmable logic controllers.

The blocks are connected by so-called connection lines or links. A link has always a single source and one or more destinations. A source may be any block output and a destination is any block input. It is not possible to connect two outputs together. A warning is shown during compilation when a source or destination of a link is not connected.

A links are created using the mouse by clicking on any input or output pin and holding the button pressed while moving towards another pin. A red dashed line is show until the final pin is reached. When the final pin is reached, a green bold line is shown. The line becomes a standard link after the mouse button is released.

A branch may be created by right clicking on any point of an existing link. A link may be deleted by pressing the Delete key when the link is selected. A link may be disconnected from a pin by right clicking on the pin and selecting Break/Disconect line from the context menu.


PIC


Figure 2.3: Connection Between Blocks