Chapter 3 Programming
3
– 17
Task
POU does not have information how to execute POU. This information is handled by task.
Put priority, choose type of task and add or remove POU accordingly.
Priority (0-3)
0 is the highest priority, 3 is the lowest.
Cyclic task
The task will be processed cyclic according to the time definition given in the field “Interval”. If the execution
time of user program exceeds 80% of cycle time of the task, then CPU stops with processor load exception
detected (error code 25).
Event task
The task will be started as soon as the variable defined in the field gets a rising edge.
Freewheeling task
The task will be processed as soon as the program is started and at the end of one run will automatically
restarted in a continuous loop. There is no cycle time defined. Be noted that the priority of this task is the
lowest and 3ms of sleeping time is added at the end of each cycle for other tasks to be executed properly.
Actual cycle time of each task is monitored in Task configuration as below.
Содержание EH-A14EDR
Страница 6: ...MEMO ...
Страница 10: ...MEMO ...
Страница 141: ...Chapter 3 Programming 3 81 Program ...
Страница 166: ...Chapter 5 Maintenance 5 4 MEMO ...
Страница 170: ...Appendix A1 4 MEMO ...