Mitsubishi Electric R16MTCPU Programming Manual page 299

Hide thumbs Also See for R16MTCPU:
Table of Contents

Advertisement

END operation
■Description
Set the operation at execution of the END step toward the program executed by the event or NMI task. This varies the
specifications for the following items.
Item
Control at [END] execution
Restart after [END] execution
Restart after end by clear step [CLR]
The END operation of subroutine called program is controlled as an "end".
• The following operation example assumes that the END operation is "continued."
Ex.
Program parameters
Item
Start setting
Execute task
Number of consecutive transitions
End operation
Program name
(1) After "R: M30000/Q: M2000" ON,
F20
program is executed at 3.555ms
intervals (first time) after event
F1
task enable.
F2
(2) Program is executed in
3.555ms cycle (second time).
F3
F4
(3) Program is executed in
3.555ms cycle (third time).
END
Executing flag
The set bit device turns ON by Motion SFC program start, and it turns OFF by program end.
When "ended"
Ends the self program.
Again, the program is started by the Motion SFC
start request (M(P).SFCS/D(P).SFCS) from the
other CPU or by a subroutine call/start (GSUB)
made from the Motion SFC program.
Again, the program is started by the Motion SFC start request (M(P).SFCS/D(P).SFCS) from the other
CPU or by a subroutine call/start (GSUB) made from the Motion SFC program.
Description
Automatically started
Event task (Fixed-cycle: 3.555ms)
2
Continued
(4) Program is executed in 3.555ms
cycle (fourth time).
(5) Program is executed in
3.555ms cycle (fifth time).
(6) Program is executed in
3.555ms cycle (sixth time).
When "continued"
Ends to execute the self program with this event/
interrupt.
Restarted at occurrence of the next event/interrupt,
and run from the initial (first) step in accordance
with the number of consecutive transitions of the
corresponding program.
After that, at occurrence of an event/interrupt, the
program is executed in accordance with the
number of consecutive transitions of the
corresponding program.
6 OPERATION FOR MOTION SFC AND PARAMETER
6.9 Program Parameters
6
297

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R64mtcpuMelsec iq-r seriesR32mtcpu

Table of Contents