4. INITIAL PROGRAMMING
This profile may further include an interruption task, called TimeInterruptTask00, with a higher priority than the MainTask,
and hence, can interrupt its execution at any time.
Tasks POU Priority Type Interval Event
MainTask MainPrg 13 Cyclic 20 ms -
TimeInterruptTask00 TimeInterruptPrg00 01 Cyclic 4 ms -
Table 38: Machine Profile Tasks
Also, this profile supports the inclusion of additional tasks associated to the external interruptions.
4.2.7. General Table
Project Profiles
Verifications Single Machine Basic Normal Expert Custom
Total tasks Quantity 01 04 [01..03] [01..32] [01..32] [01..32]
Programs per Task Quantity 01 01 01 <n> <n>
Main Task Name
Type Cyclic Cyclic Continuous Cyclic Cyclic Cyclic
Priority 13 13 13 13 13 13
Quantity 01 01 01 01 01 01
Time Interrupt Task Name
Type Cyclic Cyclic Cyclic Cyclic Cyclic
Priority 01 01 01 01 or [08..12] 01 or [08..12]
Quantity [00..01] [00..01] [00..01] [00..31] [00..31]
Extern Interrupt Task Name
Type External External External External External
Priority 02 02 02 02 or [08..12] 02 or [08..12]
Quantity [00..01] [00..01] [00..01] [00..31] [00..31]
Cyclic Task Name CyclicTask<nn> CyclicTask<nn> CyclicTask<n>
Type Cyclic Cyclic Cyclic
Priority 13 13 13
Quantity [00..31] [00..31] [00..31]
Free Task Name FreeTask FreeTask
Type Freewheeling Freewheeling
Priority 31 31
Quantity [00..01] [00..01]
Event Task Name <n>
Type Event
Priority <n>
Quantity [00..31]
Table 39: General ‘Profile x Tasks’ Table
ATTENTION
The suggested POU names associated with the tasks are not consisted. They can be changed,
as long as they are also changed in the tasks configurations.
37