Task Properties
The properties for the task can be displayed by right clicking the mouse on the required task pool
entry (i.e. Control1) and selecting
Properties
from the menu. The following task settings win
-
dow is displayed:
쎲 Task Attributes
– Event = TRUE: Always execute
– Interval = 0: Set to zero because
Event
is always true.
– Priority = 31: 31 is lowest priority i.e. is scanned last.
Before continuing, it is a good idea to “SAVE” the project; click on the Save Button.
Creation of a new task for the POU "Batch-Count"
The POU "Batch-Count" needs also to be referenced (called) by a task in the ‘Task Pool’.
햲
To create a new task, Right Click on the ‘Task_Pool’icon on the Project Navigation Window
(PNW) and select
New Task
from the presented menu. Alternatively, follow the previous
procedure, clicking once on the Task_PooI Icon to highlight it on the PNW and click the
‘New Task’ icon on the toolbar.
햳
Enter the name "Count1" into the prompt window as illustrated:
Building a Project Application Program
Training Manual GX IEC Developer 4 - 31