Mitsubishi Electric MELSEC Q Series Programming Manual page 70

Structured. fundamentals
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

■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 (P) instruction.
When using an edge relay
M0Z1 pulse is output normally.
SM400
MOV
EN
1
s
CALL
EN
P0
p
SM400
MOV
EN
1
s
CALL
EN
P0
p
FEND
EN
X0Z1
EGP
EN
RET
EN
■Device range check when the index setting is applied
• For Basic model QCPU, High Performance model QCPU, Process CPU, Redundant CPU, and FXCPU
The device range is not checked when the index setting is applied.
For Basic model QCPU, High Performance model QCPU, Process CPU, and Redundant CPU, 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.
• For the QnU(D)(H)CPU, QnUDE(H)CPU, 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.
The timings for checking the device range during index modification are shown below:
Instruction
Contact Instructions
Association instruction
Comparison operation instruction (LD)
Comparison operation instruction (AND)
Comparison operation instruction (OR)
Instructions other than the above
*1 When the data after index modification exceed the user specified device range, it may cause an error. (Error code: 4101).
*2 For the executions conditions for each instruction, refer to the descriptions page for each instruction.
*3 The PLS instruction and PLF instruction are excluded. (The PLS instruction and PLF instruction always check the device range during
index modification.)
4 PROGRAM CONFIGURATION
68
4.6 Index Setting
ENO
d
Z1
ENO
ENO
d
Z1
ENO
ENO
OUT
ENO
EN
ENO
d
V0Z1
d
M0Z1
ENO
When not using an edge relay
M0Z1 pulse is not output normally.
SM400
MOV
EN
ENO
1
s
d
CALL
EN
ENO
P0
p
SM400
MOV
EN
ENO
1
s
d
CALL
EN
ENO
P0
p
FEND
EN
ENO
X0Z1
PLS
EN
ENO
d
RET
EN
ENO
Timings for checking
*1
Always
When previous conditions are ON
When previous conditions are OFF
It follows the execution conditions for the instruction.
Z1
Z1
M0Z1
*1
*1
*1*2*3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec f seriesMelsec l series

Table of Contents