Mitsubishi MELSEC Q Series Programming Manual page 520

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

Advertisement

IX,IXEND
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The IX and IXEND instructions are not used together.
• An END, FEND, GOEND, or STOP instruction is executed prior to the execution of the
IXEND instruction, but after the execution of the IX instruction.
Program Example
(1) The following program executes the same ladder 10 times, while changing device numbers.
[Ladder Mode]
[Operation]
Modification value
D100
Modification value of T
D101
Modification value of C
D102
Modification value of X
Modification value of Y
D103
Modification value of M
D104
D105
Modification value of L
D106
Modification value of B
D107 Modification value of V
D108
Modification value of D
7-146
Sets modification
value
Ladder which
executes index
modification
Changes
modification
value
1st time
2nd time
3rd time
B0
B1
B2
X10
X11
X12
Y30
Y31
Y32
M0
M1
M2
D0
D1
D2
D10
D11
D12
T3
T4
T5
C4
C5
C6
D40
D41
D42
(Error code: 4231)
(Error code: 4231)
[List Mode]
Step
Instruction
10th time
B9
X19
Y39
M9
D9
D19
T12
C13
D49
Device

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents