
If you do not select a
Global Variable Group
, the variables are added
to the
Common Variables
group by default.
Associating a program to a task
Tasks determine the time scheduling of the programs associated with
them. This means that programs have to be associated to tasks in
order to be executed. The settings of the task determine the time
scheduling.
To create a task and associate a program
1.
Click
IEC Programming Workspace
from the toolbar.
2.
From the
Project Tree Window
, under
Physical Hardware
, right-click
Task
and select
Insert
>
Task
.
3.
Enter the
Name
.
Task name and Instance name must start with a letter or an
underscore. The rest of the characters can be letters, numbers or
underscores. The maximum quantity of characters which a task
name can have is 7 and that of a program instance is 24.
4.
Select the
Task type
. See the following table for the descriptions of
task types.
Task type
Description
DEFAULT Each resource can contain one default task. It is the
task with the lowest priority (lower than cyclic tasks)
and is not time scheduled.
CYCLIC
Cyclic task executes their associated programs in
fixed time intervals.
EVENT
Event task executes their associated programs each
time a particular event occurs.
SYSTEM
System task executes its associated programs each
time a particular system event occurs.
5.
Click
OK
.
6.
Configure the parameters as required in the
Task settings
dialog.
Depending on the associated task type, only some of the
parameters are available.
7.
Click
OK
. The new task is inserted.
8.
Right-click the task you have inserted, and select
Insert
>
Program
64
Chapter 4 - Software
Summary of Contents for ControlEdge 2020 SC-TEPL01
Page 28: ...Figure 3 8 Single star topology 28 Chapter 3 Hardware ...
Page 40: ...40 Chapter 3 Hardware ...
Page 66: ...66 Chapter 4 Software ...
Page 114: ...114 Chapter 6 Communication ...
Page 126: ...126 Notices ...