EasyManuals Logo

Mitsubishi MELSEC-Q/L User Manual

Mitsubishi MELSEC-Q/L
850 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #61 background imageLoading...
Page #61 background image
59
2
3
4
5
6
7
8
2.5 Application Instructions
2.5.6 Structure creation instructions
2.5.6 Structure creation instructions
*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
Universal model QCPU and LCPU.
Category
Instruction Symbol
Symbol Processing Details
Execution
Condition
Number of Basic Steps
Subset
See for Description
Number of
repeats
FOR
• Executes n times between the
and .
2-
Page
383
NEXT 1-
BREAK
• Forcibly ends the execution of the
to cycle and jumps
pointer Pn.
3-
Page
385
BREAKP
Subroutine
program
calls
CALL
• Executes subroutine program Pn when
input condition is met. (S1 to Sn are
arguments sent to subroutine program.
n 5)
*1
2
+
n
*3
Page
386
CALLP
RET • Returns from subroutine program 1 -
Page
390
FCALL
• Performs non-execution processing of
subroutine program Pn if input
conditions have not been met. (S1 to
Sn are arguments sent to subroutine
program. n 5)
*1
2
+
n
-
Page
391
FCALLP
ECALL
• 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)
*2
3
+
n
-
Page
395
ECALLP
FOR n
FOR
NEXT
NEXT
BREAK PnD
FOR
NEXT
BREAKP PnD
CALL Pn
CALL Pn S1 Sn
CALLP Pn
CALLP Pn S1 Sn
RET
FCALL Pn
FCALL
Pn
S1
Sn
FCALLP Pn
FCALLP
Pn
Sn
S1
ECALL Pn
: File name
ECALL
PnS1 Sn
ECALLP
ECALLP Pn S1 Sn
:
File name

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC-Q/L and is the answer not in the manual?

Mitsubishi MELSEC-Q/L Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC-Q/L
CategoryController
LanguageEnglish

Related product manuals