7-146
IX,IXEND
(8) Whether the program will be expanded or a user needs to create the program is depending
on your GPP function software package.
(a) When a user needs to create the program (When GX Developer is used)
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.
(b) When the program is expanded (When SW -GPPQ is used)
The index modification ladder established with the IX and IXEND instructions will be
transformed into a ladder using the index register (Zn) during the program expansion. *
3
Index modification cannot be conducted in a program between the IX and IXEND
instructions.
*3 : 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 7.6.13 for details.
D100
IX
M6Z4SET
X1Z2 M62Z4 Y24Z3
D0Z8K0
T495Z0 C270Z1 B20Z6
X19
Z2
IXEND
MOV
Y40Z3
D100
IX
M6SET
X1 M62 Y24
D0K0
T495 C270 B20
X
19
IXEND
MOV
Y40
D100
IX
M6Z4SET
X1Z2 M62Z4 Y24Z3
D0Z8K0
T495Z0 C270Z1 B20Z6
X19
Z2
IXEND
MOV
Y40
Z3
Program
expansion
(general
purpose
mode)