DVP-15MC Series Motion Controller Operation Manual
7-2
_7
7.1
Tasks
Tasks are a series of functions of processing specified execution conditions and execution sequences
for I/O refresh and user program execution.
A task is defined with a name, priority level and type. Tasks can be classified into three types, the cyclic
task, freewheeling task and event-triggered task.
For every task, a group of POUs which are triggered by the task can be specified. If the task is executed
in current period, the POUs will be processed within a period of time.
The priority level and task type determine the execution sequence of the task.
A watchdog can be assigned for every task.
7.1.1
Task Types
Three task types that DVP-15MC series motion controller supports
1.
Cyclic
2.
Freewheeling
3.
Triggered by event
Maximum 24 tasks that DVP-15MC series motion controller supports are respectively described
below.
Cyclic task
The cyclic task will be executed cyclically according to the set time interval.
The way the cyclic task is executed
IO
U s er pr ogr am
R emaining
i nter val
Time i nter val betw een tasks
C ycl ic tas k
S ystem
proces sing
Prior ity
H igh
Low
Sys tem
pr ocess ing
IO
U ser program
R emaining
i nterval
Time i nterval betw een task s
S ystem
proc essing
IO: IO
means I/O refresh. I/O includes local I/O points and left-side and right-side extension
module data and CANopen data. The data can be specified to refresh before the set task is
executed. If not specified, the data will be refreshed during the system processing.
User Program:
User Program stands for user program execution which is based on the
execution sequences of programs assigned in a task.
Remaining interval:
When the controller is to perform system processing, the low-priority task is executed first if any
and then the system processing is performed.
System processing:
The controller will perform the system processing which includes Ethernet, RS232 and RS485
communication processing after all task requests are completed.
The four terms mentioned above have the same meanings as those in the following sections.
Note:
If the cycle set for a cyclic task is too short, after the user program execution is finished, the
task execution will be repeated immediately and no low-priority task or no system processing
will be executed. In this case, the execution of all tasks will be affected. If the watchdog is set
for the task, the watchdog timeout will occur, the controller will enter Error status and user
program execution will stop. If the watchdog is not set for the task, the controller will not be
Содержание DVP-15MC Series
Страница 16: ...1 1 1 Preface Table of Contents 1 1 Explanation of Symbols in This Manual 1 2 1 2 Revision History 1 3...
Страница 19: ...DVP 15MC Series Motion Controller Operation Manual 1 4 _1 MEMO...
Страница 20: ...2 1 2 Overview Table of Contents 2 1 Product Description 2 2 2 2 Functions 2 2 2 3 Profile and Components 2 3...
Страница 23: ...DVP 15MC Series Operation Manual 2 4 _2 MEMO...
Страница 31: ...DVP 15MC Series Motion Controller Operation Manual 3 8 _3 MEMO...
Страница 75: ...DVP 15MC Series Motion Controller Operation Manual 6 26 _6 MEMO...
Страница 87: ...DVP 15MC Series Motion Controller Operation Manual 7 12 _7 MEMO...
Страница 432: ...Chapter 8 Logic Instructions 8 345 8_ MEMO...
Страница 433: ...9 1 9 Chapter 9 Introductions of Axis Parameters Table of Contents 9 1 Description of Axis Parameters 9 2...
Страница 470: ...DVP 15MC Series Motion Controller Operation Manual 10 34 10 MEMO...
Страница 878: ...DVP 15MC Series Motion Controller Operation Manual 11 408 11 1 MEMO...
Страница 920: ...DVP 15MC Series Motion Controller Operation Manual A 16 A MEMO...
Страница 941: ...D 1 D Explanation of Homing Modes Table of Contents D 1 Explanation of Homing Modes D 2...
Страница 966: ...DVP 15MC Series Motion Controller Operation Manual D 26 D MEMO...