APPENDICES
Appendix 5 Method of replacing High Performance model QCPU with Universal model QCPU
App
- 150
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) Method of avoiding an occurrence of OPERATION ERROR (error code:
4140) in the floating-point data comparison instructions
As shown in the modification examples below, connect the contacts of valid data flag
in series for each floating-point data comparison instruction. (Use AND connection for
connecting the contact of the valid data flag and the floating-point data comparison
instruction.)
Make sure that there is no line (OR connection) between the valid data flag and the
floating-point data comparison instruction.
<Modification example 1>
<Modification example 2>
(Before modification)
(After modification)
E<=
D100
E10
E>=
D100
E200
E<=
D100
E10
E>=
D100
E200
Valid
data
flag
Valid
data
flag
Valid
data
flag
Make sure that there is no line (OR connection)
between the signal which shows the
floating-point data validity (valid data flag) and
the floating-point data comparison instruction.
(Before modification)
(After modification)
E<=
E10
D100
E<=
D100
E10
M200
M201
M200
M201
Valid
data
flag
Valid
data
flag
Valid
data
flag