Inserting a call of a block or value field into existing lines

If you create a new →call of a →block or a new →value field or if you move an existing call or an existing value field, it is possible to insert the element into existing lines.

Restriction

The inserting of the element is only possible, if:


Step after the element has been created but not positioned yet

Example: An ADD block is to be inserted.
images/download/attachments/413893420/InsertIntoLines1-version-1-modificationdate-1533817790517-api-v2.png

1

When dragging from the project explorer: Press and hold the Ctrl-key as well as the Shift-key while positioning the element so that the in-/outputs are positioned over the existing lines.
For all other actions: Press and hold the Shift-key only while positioning the element accordingly.

images/download/attachments/413893427/InsertElement_EN-version-2-modificationdate-1533817926271-api-v2.png

2

Insert the element by releasing the mouse button. Affected lines are automatically rerouted (see the following descriptions for details).
The element is only inserted into the line, if:

  • there is sufficient space for the new element.

  • at least one of the affected in-/outputs is not connected with a line yet.

  • in case of a call to be inserted, the block is possible in the context of the opened FBD-editor (see glossary items →program, →function block and →function for more information).

Press the ESC-key, if you do not want to position the element and abort the action.

images/download/attachments/413893436/InsertIntoLines3-version-1-modificationdate-1533817945023-api-v2.png

Good to know

If you press and hold the Ctrl-key as well as the Shift-key while moving a call without connected lines or value field without connected lines within the FBD-editor, the appropriate element is copied and it is possible to insert this copy into existing lines.

Behavior of lines when inserting an element

Lines are rerouted to the inserted element. Mind the following results:

  • If there is no in-/output for a line, the line is deleted (see above example – the line to the value field containing var4 is deleted).

  • If one of the in-/outputs of the inserted element is already connected with a line, this line is kept. logi.CAD 3 correspondingly adjust the line into which the element is inserted.
    Example 1: You insert the value field with var1 into the line between the upper value field with var1 and the MOVE block:

    Underlying scenario:
    images/download/attachments/413893441/InsertIntoLinesC1-version-1-modificationdate-1533818054851-api-v2.png

    During the inserting of the element into the line:
    images/download/attachments/413893446/InsertIntoLinesC2-version-1-modificationdate-1533818074341-api-v2.png

    Result: The line from the inserted value field with var1 to the value field with var2 has been kept (with automatic rerouting), the line to the input of the MOVE block has been deleted.
    images/download/attachments/413893451/InsertIntoLinesC3-version-1-modificationdate-1533818096836-api-v2.png

    Example 2: You insert the value field with var3 into the line between the upper value field with var1 and the MOVE block:

    Underlying scenario:
    images/download/attachments/413893456/InsertIntoLinesC4-version-1-modificationdate-1533818116708-api-v2.png

    During the inserting of the element into the line:
    images/download/attachments/413893461/InsertIntoLinesC5-version-1-modificationdate-1533818134370-api-v2.png

    Result: The line from the inserted value field with var3 to the value field with var2 has been kept (with automatic rerouting), the line from the output of the upper value field with var1 has been deleted.
    images/download/attachments/413893466/InsertIntoLinesC6-version-1-modificationdate-1533818155256-api-v2.png

    Example 3: It is not possible to insert the value field with var2 into the line between the upper value field with var1 and the MOVE block. Reason: The input as well as the output of the value field are already connected with a line.

    images/download/attachments/413893471/InsertIntoLinesC7-version-1-modificationdate-1533818175226-api-v2.png

  • The line is connected to the relevant input and/or output of the element.
    Example: The line becomes connected to the output O1 of the block:

    Underlying scenario:
    images/download/attachments/413893476/InsertIntoLinesA1-version-1-modificationdate-1533818198343-api-v2.png

    During the inserting of the element into the line:
    images/download/attachments/413893481/InsertIntoLinesA2-version-1-modificationdate-1533818216078-api-v2.png

    Result:
    images/download/attachments/413893486/InsertIntoLinesA3-version-1-modificationdate-1533818236095-api-v2.png

  • If type conflicts arise, they are highlighted by the faulty lines.

    Underlying scenario:
    images/download/attachments/413893491/InsertIntoLinesB1-version-1-modificationdate-1533818256937-api-v2.png

    During the inserting of the element into the line:
    images/download/attachments/413893496/InsertIntoLinesB2-version-1-modificationdate-1533818276173-api-v2.png

    Result:
    images/download/attachments/413893501/InsertIntoLinesB3-version-1-modificationdate-1533818297702-api-v2.png

Not possible to insert the element.

It is not possible to insert the element in the following cases:

  • There is no space to insert the element .
    Example: It is possible to insert an ADD block into the lines left of the comment fields, but not into the lines above the comment field.

    images/download/attachments/413893511/InsertIntoLinesNot-version-1-modificationdate-1533818342638-api-v2.png
  • There is a connection point on the line or there is a line fork that cannot be connected to the element.
    Example: It is possible to insert an ADD block left and right to the connection point, but not on the connection point.

    images/download/attachments/413893506/InsertIntoLinesNot2-version-1-modificationdate-1533818317302-api-v2.png