Mitsubishi Electronics Q172CPU(N) Home Security System User Manual


 
11 - 12
11 MOTION SFC PARAMETER
Program run by NMI task
No. Item When "automatically started" When "not automatically started"
At occurrence of a valid event after starting of the
PLC ready flag (M2000), the program is executed
from the initial (first) step in accordance with the
number of consecutive transitions of the
corresponding program.
The program is started by the Motion SFC start instruction
( S(P).SFCS
) from the PLC or by a subroutine call/start
(GSUB) made from within the Motion SFC program.
When started by the S(P).SFCS
instruction
At occurrence of a valid event after execution of the
S(P).SFCS
instruction, the program is run from the initial
(first) step in accordance with the number of consecutive
transitions of the corresponding program.
When subroutine started
At occurrence of a valid event after execution of GSUB, the
program is executed from the first step in accordance with
the number of consecutive transitions of the corresponding
program.
When subroutine called
The program is executed immediately from the first step.
1 Start control
After that, the program is executed continuously by the number of consecutive transitions of the corresponding
program at occurrence of a valid event.
2
END control
END
As specified for END operation.
[Errors]
None.
POINT
In the case of the program which is executed by the normal task, write the
program so that it is not ended by END
but it returns to the starting step by a
jump when starting of the automatically from an initial again.