Skip to main content

SFC Element: Macro

Symbol: _cds_icon_sfc_element_macro.png

A macro contains a part of the SFC chart which is not shown in detail in the main view of the editor.

The processing flow is not affected by the use of macros. Macros are only used to hide certain parts of the chart – for example to improve clarity.

To open the macro editor, you can double-click the macro box or use the SFC → Zoom into Macro command. You can program here just like in the main view of the SFC editor. To close the macro editor, use the SFC → Zoom out of Macro command.

For more information, see the following: Programming in SFC

_cds_img_sfc_jump_example.png

① Main view in the SFC editor

② View in the macro editor for Macro1

Macros can also contain other macros. The header of the macro editor always shows the path of the macro which is currently open in the chart.

Example 9. Example
_cds_img_sfc_macro_path.png