For the execution, the following rules apply:
•That task isexecuted, whose condition has been met; i.e., if its specified time hasexpired, or after its condition (event) variable exhibits a rising edge.
•If severaltasks have a valid requirement, then the task with the highest prioritywill be executed.
•If severaltasks have valid conditions and equivalent priorities, then the task thathas had the longest waiting time will be executed first.
•The processingof the program calls will be done according to their order (top down)in the task editor.
•Dependingon the target system PLC_PRG might get processed in any case as a free-wheelingtask, without being inserted in the task configuration tree.