Editing Blocks

You can define the logic of an LCM block by creating and connecting the elements of a block: ports, signals, constants, functions and block instances.

A Dataflow block can be completely described with this editor.

This editor is also available for SFC+ blocks. However SFC+ blocks are mainly designed with the SFC+ Editor.

The SFC+ Editor provides a graphical editor to represent sequential, parallel or alternative behavior of an LCM block.

This task shows you how to:


Before you begin:

Open a State Logic library containing a SFC+ block.

Open the Block Editor

You can open the Block Editor by selecting the Launch Block Editor command or double-clicking the block in the specification tree.

  1. To open the block editor, do one of the following:.

    • Select the block (SFC+ or Dataflow block) in the specification tree and select Launch Block Editor
    • Double-click the block in the specification tree.

    The Block Editor workbench is opened in a new window.



  2. To close the Block Editor workbench, click the Close button at the top right of the window or click First Editor .

Open the SFC+ Editor

You can open the SFC Editor by selecting the Launch Behavior Editor command or double-clicking the Behavior node in the specification tree.

  1. To open the SFC+ Editor, do one of the following:

    • Select the SFC+ block in the specification tree and select Launch Behavior Editor .
    • Double-click the node Behavior in the specification tree.

    The SFC+ Editor workbench is opened in a new window.



  2. To close the SFC+ Editor workbench, click the Close button at the top right of the window or click First Editor .