SFC Element ‘Macro’

Symbol ea0e0585f3c5ad37c0a8640e00db0e2e_55e02b17f3dc0390c0a8640e01f2154f

A macro includes part of the SFC diagram, but it is not displayed in detail in the main view of the editor.

Using macros does not influence the processing flow. Macros are used for hiding specific parts of the diagram, for example to increase overall clarity.

You open the macro editor by double-clicking the macro box or by clicking SFC ‣ Zoom into macro. You can program here just like in the main view of the SFC editor. To close the macro editor, click SFC ‣ Zoom out of macro.

../_images/7eeff8b6f3cf728cc0a8640e01c1aa45

① Main view in the SFC editor

② Macro editor view for Macro1

Macros can also include other macros. The caption of the macro editor always shows the path of the open macro within the diagram, for example:

../_images/d2c3577af3d7646ac0a8640e0163a16a

See also