APPENDICES
Appendix 5 Method of replacing High Performance model QCPU with Universal model QCPU
App
- 128
9
P
a
ra
met
e
rs
10
Device
Exp
la
n
at
ion
11
CP
U
M
odu
le
P
ro
cessi
ng
Ti
m
e
12
P
roc
e
d
ure
f
or W
rit
in
g
P
rog
ra
m t
o CP
U Mo
du
le
A
p
pe
nd
ic
e
s
In
de
x
(2) Replacement example of the IXDEV and IXSET instructions
A replacement example of program using the IXDEV and IXSET instructions is shown
below.
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. The
following shows how the device offset value is set in the program before and after
replacement.
* 1: Device numbers are expressed in hexadecimal. Use hexadecimal constants (H ) when setting
values in the index modification table.
* 2: Start I/O numbers (U ) are expressed 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 The device offset value, the index modification table
IXSET
(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)+14
(D)+15
Index modification table
Start I/O number
Buffer memory
Timer
Counter
Input
*1
Output
*1
Internal relay
Latch relay
Edge relay
Link relay
*1
Data register
Link register
*1
File register
Link direct device
* 3
Pointer
T
C
X
Y
M
L
V
B
D .XX
W .XX
R .XX
U \G .XX
J \B
ZR .XX
P
Device offset specification by the
INDEV and IXSET instructions
Intelligent function
module device
File register
(through number)
*2
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......