Mitsubishi Electronics QSERIES Smoker User Manual


  Open as PDF
of 1204
 
3-22
(b) Performing indexing with the CALL instruction
Pulses can be output with the CALL instruction by use of the edge relay (V). However,
pulse output using the PLS/PLF/pulse ( P) instruction is not allowed.
[When edge relay is used] [When edge relay is not used]
(M0Z1 provides normal pulse output.) (M0Z1 does not provide normal pulse output.)
(c) Device range check during indexing
1) CPUs other than Universal model QCPU
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
The device range is checked for indexing.
With changing the settings of the PLC parameter on GX Developer, the device
range is not checked.
(d) Changing indexing with 16-bit index register for indexing with 32-bit index register
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.
SM400
Z1
K0MOV
P0CALL
SM400
Z1K1MOV
P0
CALL
X0Z1
M0Z1
V0Z1
FEND
RET
P0
SM400
Z1
K0MOV
P0CALL
SM400
Z1K1MOV
P0
CALL
X0Z1
FEND
RET
P0
M0Z1
PLS