Task Processing in Online Mode
Which Task Is Being Processed?
For the execution of the tasks defined in the Task Configuration, the following rules apply:
oThat task is executed, whose condition has been met. This means, if the specified time has expired, or after its condition (event) variable exhibits a rising edge.
oIf several tasks have a valid requirement, then the task with the highest Priority will be executed.
oIf several tasks have valid conditions and equivalent priorities, then the task with the longest waiting time will be executed first.
oThe processing of the POU (of type program) calls will be done according to their order (top down) in the Task Editor. If a POU is called which is available with the same name both in the Applications tree assigned to the application, as well as in a library or project-globally in the Global node of the Applications tree, the one will be executed that is directly declared below in the Applications tree.