EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC Q Series

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 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 #479 background imageLoading...
Page #479 background image
7-105
FOR,NEXT
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.1 FOR to NEXT instruction loop (FOR,NEXT)
7.6 Structure creation instructions
7.6.1 FOR to NEXT instruction loop (FOR,NEXT)
FOR,NEXT
Function
(1) When the processing in the FOR to NEXT loop is executed n-times without conditions, the
step following the NEXT instruction will be executed.
(2) The value of n can be designated at between 1 and 32767. If it is designated from 32768
to 0, the processing which is executed when n=1 will be performed.
(3) If you do not desire to execute the processing called for within the FOR to NEXT loop, use
the CJ or SCJ instruction to jump.
(4) FOR instructions can be nested up to 16 deep.
n : Number of repetitions of FOR to NEXT loop (1 to 32767) (BIN 16 bits)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
n ––
Basic
Process
High
performance
Redundant
Universal
LCPU
n
NEXT
FOR
Repeat program
FOR
NEXT
FOR instructions can be
nested up to 16 deep.
K5FOR
K3FOR
K100FOR
NEXT
NEXT
NEXT
X
X1
X2

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals