1
OVERVIEW
1.3 Devices and Instructions Convenient for Programming
1
- 34
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
(b) High-speed processing of massive data
The data processing instructions, such as the table processing instruction, have
been reinforced to enable high-speed processing of massive data.
(4) Flexible management of subroutine program
(a) Subroutine program sharing
A subroutine program can be shared to reduce the number of program steps.
Programs can also be created and managed easily.
A subroutine program can be created and called in the same program. Using a
common pointer, however, a subroutine program in the other program can be also
called.
Note6
Figure 1.28 Subroutine program sharing
Figure 1.27 Data processing by table processing instruction
Note6
X0
K2
R0
D0
FINSP
R0
R1
R2
R3
3
10
20
30
R4
R0
R1
R2
R3
4
10
15
20
30
R4
D0
15
Insertion
source
Insertion
designation
Inserting
position
Instruction for data insertion
at table
FIF0 table
FIF0 table
Basic
Note1.7
Since the Basic model QCPU cannot execute multiple programs, it cannot use subroutine
programs in the other programs.
Basic
R0
K4X20
MOV
SM400
R0
K4X0
MOV
RET
M0
M0
P1000
M10
P1000
CALLP
0
M0
P1000
CALLP
0
Program A
Program B
P1000 call
P1000 call
Common pointer
Subroutine program
Always
ON
Program C
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......