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) after the execution of the ref fields but before the execution of the motion/aux fields.
Syntax |
rule_prologue functionName |
---|---|
functionName |
It is the name of the function to be sent to execution (without parameters and without return value) |
Validity |
Rule |
Note |
Instruction must be called only once. If the instruction is called with functionName = 0 it is disabled |
Example of use: |