Mitsubishi MELSEC-Q Series Programming Manual page 73

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

Advertisement

(b) Applying the index setting in the CALL instruction
The pulse can be output by using edge relays (V) with the CALL instruction. Note that
the pulse cannot be output by the PLS, PLF or pulse (
[When using an edge relay]
(M0Z1 pulse is output normally.)
SM400
MOV
EN
ENO
1
s
d
Z1
CALL
EN
ENO
P0
p
SM400
MOV
EN
ENO
1
s
d
Z1
CALL
EN
ENO
P0
p
FEND
EN
ENO
X0Z1
EGP
EN
ENO
d
V0Z1
RET
EN
ENO
(c) Device range check when the index setting is applied
1) For Basic model QCPU, High Performance model QCPU, and FXCPU
The device range is not checked when the index setting is applied.
For Basic model QCPU and High Performance model QCPU, if the result of
the index setting exceeds the device range specified by a user, an error does
not occur and the data are written to other devices. (Note that if the result of
the index setting exceeds the device range specified by a user and the data
are written to devices for the system, an error occurs. (Error code: 1103))
For FXCPU, an operation error occurs. (Error code: 6706)
Create a program with caution when applying the index setting.
2) For Universal model QCPU, and LCPU
The device range is checked when the index setting is applied.
By changing the settings of the PLC parameter, the device range is not
checked.
(d) Switching between 16-bit and 32-bit range of the index setting
When switching between 16-bit and 32-bit range, check the positions of the index
setting in the program.
Since the specified index register (Zn) and next index register (Zn+1) are used for index
setting in 32-bit range, make sure not to overlap index registers being used.
[When not using an edge relay]
(M0Z1 pulse is not output normally.)
SM400
SM400
OUT
X0Z1
EN
ENO
d
M0Z1
P) instruction.
MOV
EN
ENO
1
s
d
Z1
CALL
EN
ENO
P0
p
MOV
EN
ENO
1
s
d
Z1
CALL
EN
ENO
P0
p
FEND
EN
ENO
PLS
EN
ENO
d
M0Z1
RET
EN
ENO
4.6 Index Setting
4
4-51

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l seriesMelsec-f series

Table of Contents