|
Important |
|---|---|
|
|
The effect of this pragma is that all functions and programs which are decorated this way are called after the global initialization. You define the order of calling by means of the attribute value.
If the attribute is set in a method, then all instances of the parent function block are determined. All instances are called in the specified slot. In this case, you have no influence on the order of the instances among themselves.
Syntax:
{attribute 'call_after_global_init_slot' := '<slot>'}
|
Insert location |
First line above the declaration part of functions and programs |
|
|
Integer value which defines the ranking in the order of the calls The lower the value, the earlier the call is made. If several function blocks have the same ranking for the attribute, then the order of their calls remains indefinite. |
For more information, see: Global Init Slots