Mitsubishi Electronics Q173CPU(N) ユーザーズマニュアル

ページ / 472
 
 
 
11 - 7 
11   MOTION SFC PARAMETER 
 
11.3 Execution Status of The Multiple Task 
Execution status of each Motion SFC program when the Motion SFC program is 
executed multiple tasks is shown below. 
 
NMI task-execute program 
3.55ms event task-execute program 
Normal task-execute program 
3.55ms NMI 
interrupt
NMI interrupt
 
 
When there are programs which are executed by the NMI task, 3.55ms fixed-cycle 
even task with a program to run by the NMI task, and the normal task like a chart, 
(1)   The 3.55ms fixed-cycle event task is executed at intervals of 3.55ms;  
 
(2)   The NMI task is executed with the highest priority when an NMI interrupt is input; 
and 
 
(3)   The normal task is executed at free time.  
as shown above. 
 
[Points] 
One Motion SFC program can be executed partially by another task by setting the area 
to be executed by another task as a subroutine and setting a subroutine running task 
as another task. 
<Example> 
No. 0 Main Motion SFC program      Normal task 
No. 1 Subroutine                                Event task (3.55ms cycle) 
 
CAUTION 
 A normal task may be hardly executed when a NMI task, an event task are executed in many.