SFC element Macro
Symbol:
A macro contains a part of the SFC diagram, 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 diagram in the interest of clarity, for example.
Open the macro editor by double-clicking on the macro box or with the command Show macro in the SFC menu. You can program here in the same way as in the main view of the SFC editor. To close the macro editor, use the Exit macro command in the SFC menu.
① Main view in the SFC editor
② View in the macro editor for Macro1
Macros can contain further macros. The title bar of the macro editor always shows the path of the currently open macro within the diagram.
Example:
See also:
- Programming in Sequential Function Chart (SFC)
- TC3 User Interface documentation: Command Show macro
- TC3 User Interface documentation: Command Exit macro