Tasks - Mitsubishi Electric MELSEC Q Series Structured Programming Manual

Fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

4.1.3

Tasks

A task is an element that contains multiple POUs, and it is registered to a program file.
One or more programs of POU need to be registered in a task. (Functions and function blocks
cannot be registered in a task.)
(1) Task executing condition
The executing conditions in a programmable controller CPU are set for each task that is
registered to program files. Executing processes are determined for each task by setting the
executing condition.
The following are the types of task executing condition.
(a) Always (Default executing condition)
(b) Event
(c) Interval
A priority can be set for each task execution.
● Priority
4.1 Overview of Program Configuration
4-4
4.1.3 Tasks
Program file 1
Task
Task
Task
POU
Program
POU
Program
Task
Task
Task
POU
Program
POU
Program
Executes registered programs for each scan.
Executes tasks when values are set to the corresponding devices or labels.
Executes tasks in a specified cycle.
When executing conditions of multiple tasks are met simultaneously, the tasks are
executed according to the set priority.
Tasks are executed in the order from the smallest priority level number.
Tasks set with a same priority level number are executed in the order of task data name.
Project
Program file 2
Task
Task
Task
POU
Program
POU
Program
POU
Program
Program file n
Task
Task
Task
POU
Program
POU
Program
Task
Task
Task
POU
Program

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l seriesMelsec-f

Table of Contents