Instructions
Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
65
The name is displayed in the workspace tab. It is the name of the macro in the project.
The text in the parameter Description is displayed in a tooltip, when the mouse is over
the macro in the workspace.
The name in the parameter Group is used in the library. If the group name is empty, the
macro is assigned to the group Other in the project library.
If you set the password for the macro, it will be asked every time the menu item Edit
macro is selected.
6.3.4 New macro using context menu
You can create a macro by drawing a selection rectangle in the workspace and using the
item New macro from the workspace context menu. All selected blocks will be moved
into a new macro block that will replace the selected blocks in the workspace. All external
connecting lines will be retained.
Fig. 6.88
There are some specific aspects of creating macros using context menu:
The number of inputs and outputs of the macro is equal to the number of connected
input and output connections in the selected area. In case the elements without con-
nections are selected, the macro with one input and one output will be created.
If a block of the standard variable is selected, the variable will be copied under the
same name into the macro.
Note: Despite the same name, the variables in the macro and in the main pro-
gram are different, there is no conflict between them.
If all blocks of the variable are selected and it has no other references in the program,
the variable will be moved into the macro.
If the selected variable is used (has blocks or other references) outside the selected
area, it will be copied under the same name into the macro and the original will re-
main in the workspace.
If only one block of the input or output variable is selected, the variable will be copied
under the same name into the macro and the original will remain in the workspace.
When the macro is created using the context menu, the following elements will not be
included in it:










