Mitsubishi Electronics Q172CPU(N) Home Security System User Manual


 
11 - 4
11 MOTION SFC PARAMETER
(2) Event task operation
[Operations]
An event task executes the Motion SFC program at occurrence of an event.
There are the following events.
(a) Fixed cycle
The Motion SFC program is executed periodically in any of 0.88ms,
1.77ms, 3.55ms, 7.11ms and 14.2ms cycles.
(b) External interrupt (16 points of I0 to I15)
Among 16 points of the QI60 (16-point interrupt module) loaded in the
motion slot, the Motion SFC program is run when the input set for an
event task turns on.
(c) PLC interrupt
The Motion SFC program is executed when the S(P).GINT instruction is
executed in the PLC program.
<Example 1>
3.55ms
Event task
3)
2)
1)
F20
F1
F2
F3
F4
END
Program 1
Program name
SFCS
PLC program
1)
END operation: End
END operation: Continue
2) 3)
1) 2) 3) 1) 2)
Do not execute a
program before the
event task starting .
(Note) : When making it
always execute,
set as automatic
starting.
Execute the number of
consecutive transition for
every event occurrence.
When END operation is set as
continuation, continuation
operation is executed.
When stopping, it is make to
execute CLR by other programs.