Macro Actions

You can associate a macro to a step. A macro is a SFC+ graph which is executed when its step is active.

Macros are used to structure the SFC+ graph. Moreover, using macros is the solution to design SFC+ branches executed in parallel. Macros associated to the same step are run concurrently.


Before you begin: Create a step.
  1. Click Add Action and select step S0 in the graph. The Action Properties dialog box appears.

  2. Select the type Macro and set a name in the field Macro Name.



  3. Click OK. The pulse action is represented as follows in the editor:



  4. Double-click the action in the viewer or the specification tree. A new empty SFC+ Editor window is opened. The name and the path of the Macro are displayed in the window bar.

  5. Create a new SFC+ graph in the window.

  6. When the graph is completed, select Previous Editor in the Navigation toolbar to go back to the first graph containing the call of the macro. The steps of the macro are added to the specification tree.