Mitsubishi MELSEC-Q Series Programming Manual page 72

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

Advertisement

(6) Precautions
(a) Applying the index setting within the FOR to NEXT instruction loop
[When using an edge relay]
(M0Z1 pulse is output normally.)
4.6 Index Setting
4-50
The pulses can be output by using edge relays (V) within the FOR to NEXT instruction
loop.
Note that the pulses cannot be output by the PLS, PLF or pulse (
SM400
MOV
EN
ENO
0
s
d
Z1
FOR
EN
ENO
10
n
X0Z1
EGP
EN
ENO
d
V0Z1
SM400
INC
EN
ENO
d
Z1
NEXT
EN
ENO
Remark
The ON/OFF information of X0Z1 is stored to the edge relay V0Z1.
For example, the ON/OFF data of X0 is stored to V0 and the ON/OFF data of X1
is stored to V1.
Z0 and Z1 cannot be used when labels are used for array indexes within the FOR
to NEXT instruction loop.
[When not using an edge relay]
(M0Z1 pulse is not output normally.)
OUT
EN
ENO
d
M0Z1
P) instruction.
SM400
MOV
EN
ENO
0
s
d
Z1
FOR
EN
ENO
10
n
X0Z1
PLS
EN
ENO
d
M0Z1
SM400
INC
EN
ENO
d
Z1
NEXT
EN
ENO

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-f series

Table of Contents