1
2
3
APPEN-
DIX
6
7
8
Appendix 3 Me
thod of R
epla
cing Basic Mod
el QCPU
or H
igh
Perfor
mance
Model QCPU with U
niversal
Model QCPU
Appendix 3.3 Instructions
APPENDICES
App
-
28
(2)
Replacement example of the IXDEV and IXSET instructions
Change the program so that the device offset value specified by the contacts between the IXDEV and the IXSET
instructions are directly set to the index modification table using the MOV instruction.
For the devices whose device offset value is not specified by the IXDEV and IXSET instructions, set the device
offset value to 0 in the program after replacement.
Figure App.3 shows how the device offset value is set in the program before and after replacement.
*1: Device numbers are represented in hexadecimal. Use hexadecimal constants (H ) when setting values in the index modi-
fication table.
*2: Start I/O numbers (U ) are represented in hexadecimal. Use hexadecimal constants (H ) when setting values in the
index modification table.
*3: Devices B, W, X, or Y can be specified following J\. . Set device numbers for B, W, X, and Y as device offset values of
each device in the index modification table.
For example, if "J10\Y220" is specified by the IXDEV and IXSET instructions, set "K10" in (D)+13 and "H220" in (D)+3 in
the replacement program. ((D) indicates the start device in the index modification table.)
Figure App.3 Device offset value specification and index modification table
IX
S
ET
(D)
+
0
(D)
+
1
(D)
+
2
(D)
+
3
(D)
+4
(D)
+
5
(D)
+
6
(D)
+
7
(D)
+
8
(D)
+
9
(D)
+
10
(D)
+
11
(D)
+
12
(D)
+
13
(D)
+
1
4
(D)
+
15
I
nde
x
mod
i
f
i
cat
i
on
tab
l
e
Start
I/O
number
Buffer
memory
address
Ti
mer
Counter
I
nput
*1
O
utput
*1
I
nterna
l
re
l
ay
L
atch
re
l
ay
E
dge
re
l
ay
Li
nk
re
l
ay
*1
Data
reg
i
ster
Li
nk
reg
i
ster
*1
Fil
e
reg
i
ster
Li
nk
d
i
rect
dev
i
ce
*
3
Po
i
nter
T
C
X
Y
M
L
V
B
D
.XX
W .XX
R
.XX
U
\G .XX
J \
B
Z
R
.XX
P
Dev
i
ce
offset
spec
i
f
i
cat
i
on
I
nte
lli
gent
funct
i
on
modu
l
e
dev
i
ce
*2
Fil
e
reg
i
ster
(through
number)