With this instruction, it is possible to specify the name of a function that will be executed at each sampling of the rules (which run at a fixed frequency set via the rule_freq instruction) before the ref fields are executed.
Syntax |
ref_prologue functionName |
---|---|
functionName |
It is the name of the function to be sent to execution (without parameters and without return value) |
Validity |
Rule |
Note |
The instruction must be called only once. If the instruction is called by omitting functionName (= 0) it is disabled |
Example of use:
|