Structure Creation Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

2.5.6

Structure creation instructions

Category
FOR
NEXT
Number of
repeats
BREAK
BREAKP
CALL
CALLP
RET
FCALL
Subroutine
program
calls
FCALLP
ECALL
ECALLP
2-38
Table 2.23 Structure Creation Instructions
Symbol
FOR
NEXT
BREAK
D
BREAKP
D
CALL
CALL
Pn S1 Sn
CALLP
CALLP
Pn S1 Sn
RET
FCALL
FCALL
Pn S1 Sn
FCALLP
FCALLP
Pn Sn S1
ECALL
ECALL
Pn S1 Sn
: File name
ECALLP
ECALLP
Pn S1 Sn
: File name
*1: n indicates number of arguments for subroutine program.
*2: n indicates the total of the number of arguments used in the subroutine program and the number of program
name steps. The number of program name steps is calculated as "number of characters in the program/2"
(decimal fraction is rounded up).
*3: The subset is effective only with the
Processing Details
n
• Executes n times between the
NEXT
and
.
Pn
• Forcibly ends the execution of the
to
NEXT
cycle and jumps pointer Pn.
Pn
Pn
• Executes subroutine program Pn when
input condition is met. (S1 to Sn are
arguments sent to subroutine program.
Pn
n
5)
• Returns from subroutine program
Pn
• Performs non-execution processing of
subroutine program Pn if input
conditions have not been met. (S1 to
Sn are arguments sent to subroutine
Pn
program. n
5)
Pn
• Executes subroutine program Pn from
within designated program name when
input condition is met. (S1 to Sn are
arguments sent to subroutine program.
n
5)
Universal model QCPU
Execution
Condition
FOR
FOR
and LCPU.
2
-
7-105
1
-
3
-
7-108
*1
2
7-110
+
*3
n
1
-
7-115
*1
2
+
-
7-116
n
*2
3
+
-
7-120
n

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents