Execution Options of Function Blocks
Execution Options of Function Blocks
6.3
Function blocks can be executed in different ways:
b Macrocode execution
b MC – MCR execution
b Use with EN/ENO
The execution mode is selected in the Function Information dialogue box:
How to set the execution option:
Select the function block in the Project Navigator window.
Display the Function Information dialogue box by right clicking and select Properties .
Activate the check box. The use of MC-MCR option can only be activated when the other
two options have already been activated.
This does not make any changes to instantiation and the programming of instances in the vari-
ous programming languages.
6.3.1
Macrocode execution
b
Standard execution: The function block is called via a system label.
b
Macrocode execution: The function block is expanded internally.
Training Manual GX IEC Developer
Functions and Function Blocks
6 - 21