Command ‘Add entry action’

Symbol:

Function: This command opens the Add entry action dialog box where you define a new entry action. Depending on the SFC options, a dialog prompt may open for selecting the duplication mode for the new step action.

Call: Menu bar: SFC; context menu of the selected step element.

Requirement: A step element in SFC is selected.

The entry action is opened automatically in the ST editor. The step element contains an E in the lower left corner.

Confirmation prompt for selecting the duplication mode

Options:

  • Copy referenceA new step will call the same actions: If the step is copied in SFC, the link to the step action(s) is also copied. The steps copied by each other will therefore call the same actions.

  • Copy implementation: New action objects are created for a new step.: This means that the step actions for a copied step are embedded. By default, the generated action objects appear below an SFC box in the device tree or POUs view. These objects contains a copy of the original implementation code of the respective action.

    The display of the embedded objects can be activated and deactivated in the tree by means of the Show embedded objects and Hide embedded objects commands in the context menu of an SFC object.

See also