Skip to main content

Command: Add Entry Action

Symbol: _cds_icon_sfc_add_entry_action.png

Function: The command opens the Add Entry Action dialog 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: SFC menu; context menu of the selected step element

Requirement: A step element in SFC is selected.

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

For more information, see: Action

Confirmation prompt for selecting the duplication mode

Options:

  • Copy reference. A new step will call the same actions.: If the step is copied in SFC, then 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 are displayed 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 enabled or disabled in the tree by means of the Show Embedded Objects and Hide Embedded Objects commands in the context menu of an SFC object.