Instructions
Library
akYtec GmbH · Vahrenwalder Str. 269 A · 30179 Hannover · Germany · Tel.: +49 (0) 511 16 59 672-0 · www.akytec.de
66
o device inputs and outputs
o service variables
o network variables
o PID controller
In case the above mentioned blocks are selected, they will remain in the main work-
space and will be connected to the corresponding I/O points of the macro.
If any WriteToFB / ReadFromFB blocks (sect. 7.7) are assigned to the selected FB,
they will be included to the macro, even if they are not selected. If the read/write
blocks are selected but not the assigned FB, they will not be included in the macro.
6.3.5 Update macro
If the macro used in the program has been modified, (name, type, number of I/O points,
or the parameter Use in macro of any block), it will be displayed in red in the program
and the user will be prompted to update the macro. A macro is considered to be modified
after the changes made in Macro Editor are saved.
To update the macro, use its context menu.
Fig. 6.89
Once the macro has been updated, the next modified macro will be prompted to update.
Update rules:
If the type or name of the macro I/O points with the attached connection is changed,
the connection will be disconnected after the update.
If I/O points are added to the macro, the existing I/O points will not be disconnected
after the update.
Macro I/O points are identified by name and type. If you change the name or type of
an I/O point with an external connection and create a new I/O point with the same
name and type, the connection will be automatically linked to the new I/O point after
the macro update.
6.3.6 Replace macro
If a macro should be replaced with another one, it can be done manually: delete the
macro, add a new macro and restore the connecting lines.
It is more efficient to replace the macro using the context menu command Replace. The
connecting lines to macro I/O points will be retained if the names and the data types of
the old and the new I/O points are the same.
If the name or data type of an I/O point does not match, the connecting line will be cut
and should be repaired manually.










