Mitsubishi Q00JCPU User Manual page 55

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

1
OVERVIEW
(4) Flexible management of subroutine program
Basic
Note1.6
Program A
M0
0
Program B
M10
0
Note6
Basic
Since the Basic model QCPU cannot execute multiple programs, it cannot use subroutine
programs in the other programs.
Note1.6
(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.
X0
FINSP
D0
Insertion
source
Insertion
designation
Instruction for data insertion
at table
Diagram 1.24 Data processing by table processing instruction
(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
Note1.6
called.
Note6
Common pointer
P1000 call
CALLP
P1000
P1000 call
CALLP
P1000
Diagram 1.25 Subroutine program sharing
1.3 Devices and Instructions Convenient for Programming
R0
K2
Inserting
position
D0
15
Program C
Subroutine program
SM400
P1000
Always
ON
FIF0 table
FIF0 table
R0
3
R0
4
R1
10
R1
10
R2
20
R2
15
R3
30
R3
20
R4
R4
30
M0
MOV
K4X0
R0
M0
MOV
K4X20
R0
RET
1
1
2
3
4
5
6
7
8
- 26

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents