Connecting blocks

To complete the circuit program, you must interconnect the blocks. In the programming toolbar, select the block connection icon.

Example for FBD:

Connector

Click the connector of one block and drag the mouse to a connector of another block to make a connection between the two blocks. LOGO!Soft Comfort connects the two terminals.

Example for LAD:

LOGO!Soft Comfort offers you a further option of connecting blocks when you right-click the input or output of a block. In the shortcut menu, click the Connect with block menu command to display a selection list that contains all blocks available for your connection. Click the relevant target block. LOGO!Soft Comfort then draws the connecting line. This method is especially useful for connecting a source to a target block over a greater distance on the programming interface.

Note on the LAD Editor:

Do not forget to connect the I/O to the bus bar on the left edge of the editor window.

Tips on connecting blocks

When you connect an input to an output, or vice versa, LOGO!Soft Comfort displays a tooltip that shows the connection. Release the mouse button to snap the line onto the indicated input.

You can refer to the short information (tooltips) in LOGO!Soft Comfort for additional help on circuit programming. Hover over a block to see the name of the block. Hover over a block input to see the name of the input.

LOGO!Soft Comfort displays a blue frame around the mouse pointer when it can connect to an block input (pin)

Rules for connecting blocks

The following rules apply to the connection of blocks:

  • You can connect a single input to multiple outputs.

  • You cannot connect multiple inputs to a single output.

  • You cannot interconnect I/O in the same path of a circuit program. Recursion is not permitted. Interconnect a flag or output if necessary.

  • SFBs also have green "connectors". These do not represent connecting pins, but are used instead for assigning the parameter settings.

  • Analog I/O cannot be connected to digital I/O.

Connecting blocks in different data type (LOGO! 9 and later versions)

For LOGO! 9 and later versions BM, float data type is supported. When you configure the data type of an analog block as Float (32-bit) data type, you will notice that the input/output connector line is thicker than the line of the block in integer data type.

LOGO!Soft Comfort supports to connect blocks in different data types, that is, connecting an analog block in integer data type to an analog block in float data type, or vice versa. In this case, LOGO!Soft Comfort generates the connecting line in yellow by default, and there is a reminder mark placing on the line between the two blocks.

When you connect an integer output to a float input, LOGO!Soft Comfort automatically converts the integer data into float data in 32-bit; when you connect a float output to an integer input, LOGO!Soft Comfort automatically cuts off the numbers after the decimal point and converts the float data into receivable integer data in 16-bit.

If you hover your mouse cursor above the reminder mark , you can see the reminder that the value accuracy will be lost for different data type connection.

Multiple connections

You can connect I/O to existing connections.

A quick and easy way of connecting blocks in large circuit programs