10
DEVICE EXPLANATION
10.3 Internal System Devices
10.3.1 Function devices (FX, FY, FD)
10
- 50
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
(c) Function registers (FD)
• Function registers are used to perform write/read of data between the sub-
routine call source and the subroutine program.
• The function register I/O condition is automatically determined by the High
Performance model QCPU. If the subroutine program data is the source data,
the data is designated as subroutine input data.
If the subroutine program data is the destination data, the data is designated
as subroutine output data.
• 1 function register occupies a maximum of 4 words.
The number of words used depends on an instruction in a subroutine
program.
A one-word instruction requires 1 word.
A two-words instruction requires 2 words.
The destination of 32-bit multiplication/division operation requires 4 words.
CPU module word data devices can be used.
Figure 10.43 When 1 word is occupied by 1 function register
Figure 10.44 When 2 words are occupied by 1 function register
Figure 10.45 When 4 words are occupied by 1 function register
P0
The data is stored in one point (D0).
CALLP P0 D0
MOV R0 FD0
CALLP P0 D0
DMOV R0 FD0
P0
The data is stored in two points (D0 and D1).
CALLP P0 D0
D R0 R10 FD0
P0
The data is stored in four points (D0 to 3).
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......