414
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.
(8) Whether the program will be expanded or a user needs to create the program is depending on your GPP function
software package.
The index register should be added to the index modification ladder established with the IX and IXEND instructions. *
2
*2:
The value of Zn is returned to the previous Zn value before the execution of the IX instruction after the IXEND instruction has
been executed.
1. When using the IX and IXEND instructions in both a normal sequence program and an interrupt sequence program,
establish the interlock to avoid simultaneous execution. The interlock assumes the area between the IX and IXEND
instructions in the normal sequence program as DI, disabling the interruption.
2. The IXDEV and IXSET instructions can be used to specify modification values. Refer to Page 416, Section 7.6.13 for
details.
X1
Z
2
D100
IX
M62
Z
4 Y24
Z
3
X19
Z
2
Y40
Z
3
M6
Z
4
SET
T495
Z
0 C270
Z
1B20
Z
6
D0
Z
8
K0
MOV
IXEND
X3 M72 Y2E
X1B
Y4A
M16
SET
T498 C275 B30
D1
K0
MOV
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
(Z
3
)
(Z
1
)
(Z
2
)
(Z
0
)
(Z
4
)
(Z
5
)
(Z
6
)
(Z
7
)
(Z
8
)
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
,
respectivel
y
.
Processed as Y2E and Y4A
,
respectivel
y
.
Processed as M16 and M72
,
respectivel
y
.
Processed as B30.
Processed as T498.
Processed as C275.
Processed as D1.
S
D100
I
X
M6
Z4
S
ET
X1
Z
2
M62
Z4
Y
2
4Z
3
D0
Z
8
K
0
T4
95
Z
0 C270
Z
1 B20
Z
6
X19
Z
2
I
X
EN
D
MOV
Y4
0
Z
3