EasyManuals Logo
Home>Mitsubishi>Controller>FX3U Series

Mitsubishi FX3U Series Programming Manual

Mitsubishi FX3U Series
944 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 #238 background imageLoading...
Page #238 background image
236
FX3G/FX3U/FX3GC/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
8 Program Flow – FNC 00 to FNC 09
8.10 FNC 09 – NEXT / End a FOR/NEXT Loop
8.10 FNC 09 – NEXT / End a FOR/NEXT Loop
Outline
NEXT instruction specifies the end position of the loop.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
The loop between FOR and NEXT instructions is repeated "n" times (which is specified by the source data).
After the loop is repeated by the specified number of times, steps after NEXT instruction are executed.
Related instruction
NEXT instruction and FOR (FNC 08) instruction are set as a pair in programming.
Caution
1. Limitation in the number of nesting
FOR-NEXT loop can be nested up to 5 levels.
Operand type Description Data type
There is no set data.
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD.b KnX KnY KnM KnS T C D R U\G VZModifyKH E ""P
There are no applicable devices.
FNC 09
NEXT
NEXT
Mnemonic Operation Condition
Continuous
Operation
Independent Inst.
1 step
This instruction is the independent type, and
does not require drive contact.
FNC 08
FOR
FNC 09
NEXT
Repeated " "
times.
S
S
FOR
1st
level
FOR
FOR
NEXT
NEXT
NEXT
2nd
level
3rd
level
FOR
1st
level
FOR
FOR
NEXT
NEXT
NEXT
2nd
level
1st
level

Table of Contents

Other manuals for Mitsubishi FX3U Series

Questions and Answers:

Question and Answer IconNeed help?

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

Mitsubishi FX3U Series Specifications

General IconGeneral
BrandMitsubishi
ModelFX3U Series
CategoryController
LanguageEnglish

Related product manuals