Editors comes immediately after it in the data flow sequencing system which by topological ordering would not always be the case. The topological ordering can deliver another result in some cases than ordering by data flow, a point which one can recognise from the above example. 'Extras' 'Create macro'‘ With this command, several POUs that are selected at the same time can be assembled into a block, which can named as a macro. Macros only can be reproduced by Copy/Paste, whereby each copy becomes a separate macro whose name can be chosen independently. Macros are thus not references. All connections that are cut by the creation of a macro generate in- or out-pins on the macro.
Connections to inputs generate an in-pin. The default name appears next to the pin in the form In . For connections to outputs, Out appears. Affected connections which had connection markers prior to the creation of the macro, retain the connection marker on the PIN of the macro. At first, a macro has the default name "MACRO". This can be changed in the Name field of the macro use. If the macro is edited, the name of the macro will be displayed in the title bar of the editor window appended to the POU name. Example: Selection: Macro: In the editor:
'Extras' 'Edit Macro’ By this command, or by double clicking on the body of the macro, the macro is opened for editing in the editor window of the associated POU. The name of the macro is displayed appended to the POU name in the title bar. The pin boxes generated for the in- and outputs of the macro during creation can be handled like normal POU in- and outputs. They can also be moved, deleted, added, etc. They differ only in how they are displayed and have no position index. Pin boxes have rounded corners. The text in the pin-box matches the name of the pin in the macro display. The order of the pins in the macro box follows the order of execution of the elements of the macro.
A lower TX1200 150 Version: 1.3