Mitsubishi 00JCPU User Manual page 253

Q series programmable controller
Table of Contents

Advertisement

• When the end step is executed before the start step
The start step is specified as the next step of the CALL instruction and the end step is
Example
specified in a subroutine program executed by the CALL instruction.
The start step is executed
after the end step due to the
CALL instruction.
• When the start step is executed continuously
Only the start step is specified between the FOR and NEXT instructions.
Example
"The start step is executed
continuously since it is specified
between the FOR and NEXT
instructions."
0
Start step: 3
3
5
P0
6
9
3
6
Start step: 8
8
10
11
CHAPTER6 FUNCTIONS
CALL P0
FEND
End step: 8
RET
FOR K2
NEXT
End step: 13
1
2
3
4
5
6
7
8
6 - 73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents