Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-145
IX,IXEND
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.12 Index modification of entire ladder (IX,IXEND)
(2) Index modification for device numbers is accomplished in the manner as below: By setting a
modification value to each of the devices, the set modification values are added to the all
device numbers of the devices used in the ladder between the IX and IXEND instructions.
The program is executed using the index modified device numbers.
(3) Instructions such as the PLS, PLF, and P instructions, which are executed only once
when input conditions have been established, cannot be index modified by using the IX to
IXEND instruction loop.
(4) In cases where adding the modification value causes the device number to exceed the
device range, accurate processing will not be conducted.
(5) Do not execute the IX or IXEND instructions during online program changes of sequence
programs (write during RUN). Accurate processing will not be conducted if this happens.
(6) Modification values are preset for random word devices as BIN values, and the initial device
number for which modification values have been set is designated by .
(7) Do not execute a scan execution type program and an interrupt program simultaneously
between the IX and IXEND instructions.
X1Z2
D100IX
M62Z4
Y24
Z3
X19Z2
Y40Z3
M6Z4
SET
T495Z0 C270Z1B20Z6
D0Z8K0MOV
IXEND
X3 M72
Y2E
X1B
Y4A
M16
SET
T498 C275 B30
D1
K0MOV
Modification value
10
5
2
8
10
20
16
20
1
D103
D101
D102
D100
D104
D105
D106
D107
D108
Y
C
X
T
M
L
B
V
D
(Z3)
(Z1)
(Z2)
(Z0)
(Z4)
(Z5)
(Z6)
(Z7)
(Z8)
Value "2" is added to X1 and X9
Value "1" is added to D0
Value "5" is added to C270
Value "8" is added to T495
Value "10" is added to M6 and M62
Value "10 (A
H
)" is added to Y24 and Y40
Value "16 (10
H
)" is added to B20
Processed as X3 and X1B, respectively.
Processed as Y2E and Y4A, respectively.
Processed as M16 and M72, respectively.
Processed as B30
Processed as T498
Processed as C275
Processed as D1
S