Structured Instructions; 7.6.1 For To Next Instruction Loop - Mitsubishi MELSEC-Q Series Programming Manual

Hide thumbs Also See for MELSEC-Q Series:
Table of Contents

Advertisement

FOR, NEXT
7.6

Structured Instructions

7.6.1
FOR to NEXT instruction loop
FOR
NEXT
Structured ladder
FOR
EN
ENO
n
Structured ladder
NEXT
EN
ENO
Input argument,
EN:
n:
Output argument,
ENO:
Setting
data
n
Function
(1) Executes the processing of the next step of the NEXT instruction, when the process of the
FOR to NEXT instruction loop is executed n times without conditions.
(2) The value of n can be specified with the value between 1 and 32767. If it is specified in the
range from
(3) If you do not desire to execute the process of the FOR to NEXT instruction loop, use the CJ
or SCJ instruction to jump.

7.6 Structured Instructions

7-100

7.6.1 FOR to NEXT instruction loop

ST
Not supported
ST
Not supported
Executing condition
Number of repeats of the FOR to NEXT instruction loop (1 to
32767)
Execution result
Internal device
R, ZR
Bit
Word
32768 to 0, executes the same processing as n=1.
instructions.
FOR
NEXT
:Bit
:ANY16
:Bit
J
\
U
\G
Bit
Word
FOR, NEXT
High
Universal
Performance
UD
indicates any of the following
Constant
Zn
Others
K, H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qcpu

Table of Contents