Mitsubishi MELSEC Q Series Programming Manual page 112

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

(b) Performing indexing with the CALL instruction
[When edge relay is used]
(M0Z1 provides normal pulse output.)
P0
(c) Device range check during indexing
(d) Changing indexing with 16-bit index register for indexing with 32-bit index register
3-22
Pulses can be output with the CALL instruction by use of the edge relay (V). However,
pulse output using the PLS/PLF/pulse (
SM400
MOV
K0
CALL
SM400
MOV
K1
CALL
X0Z1
V0Z1
1) Basic model QCPU, High Performance model QCPU, Process CPU, and
Redundant CPU
Device range checks are not conducted during indexing.
Therefore, when the data after index modification exceed the user specified
device range, the data is written to another device without causing an
error.(Note, however, that when the data after index modification is written to
the device for system use exceeding the user specified device range, an error
occurs. (Error code: 1103))
Take extra precaution when using indexing in programming.
2) Universal model QCPU and LCPU
The device range is checked for indexing.
With changing the settings of the PLC parameter, the device range is not
checked.
For changing indexing with 16-bit index register for indexing with 32-bit index register,
check if the program has enough spaces for indexing.
For indexing with 32-bit index registers, the specified index register (Zn) and the next
index register of the specified register (Zn+1) are used. Be sure not to overlap index
registers to be used.
P) instruction is not allowed.
[When edge relay is not used]
(M0Z1 does not provide normal pulse output.)
SM400
Z1
P0
SM400
Z1
P0
FEND
X0Z1
M0Z1
P0
RET
MOV
K0
Z1
CALL
P0
MOV
K1
Z1
CALL
P0
FEND
PLS
M0Z1
RET

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents