Fnc 09 - Next / End A For/Next Loop - Mitsubishi FX3U Series Programming Manual

Hide thumbs Also See for FX3U Series:
Table of Contents

Advertisement

FX
/FX
Series Programmable Controllers
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
8.10
FNC 09 – NEXT / End a FOR/NEXT Loop
Outline
NEXT instruction specifies the end position of the loop.
1. Instruction format
FNC 09
NEXT
2. Set data
Operand type
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
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.
214
Mnemonic
Independent Inst.
1 step
NEXT
There is no set data.
Digit Specification
FNC 08
S
FOR
FNC 09
NEXT
8.10 FNC 09 – NEXT / End a FOR/NEXT Loop
Operation Condition
This instruction is the independent type, and
Continuous
Operation
does not require drive contact.
Description
Word Devices
Special
System User
Unit
V Z Modify K H
There are no applicable devices.
S
Repeated "
"
times.
8 Program Flow – FNC 00 to FNC 09
Data type
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
Pointer
P

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3uc seriesMelsec-f

Table of Contents