Mitsubishi 00JCPU User Manual page 33

Q series programmable controller
Table of Contents

Advertisement

(2) Structural description of programs
Use of the index register and edge relay enables easy structured programming including the pulse conversion
processing. (
Section 9.2.6)
X0Z0 X1Z0
Figure 1.13 Structured programming including the pulse conversion processing
(3) Easy data processing
(a) Using real numbers and character string constants without conversion
Real numbers (floating-point data) and character string constants can be used without conversion for program-
ming.
X0
E+P
Real number addition instruction
$+P
Character string data link instruction
Figure 1.14 Structured programming including the pulse conversion processing
*1:
The NULL character represents "00H" (end of character strings)
(b) High-speed processing of bulk data
Extension of the data table operation instructions, such as the data table processing instruction, allows high-
speed processing of bulk data.
X0
FINSP
Device
where the
data is
currently
stored
Instruction for inserting data
to the table
Figure 1.15 Data processing with the table processing instruction
FOR n
V0Z1
Y8Z2
Multiple number (n) of
similar programs can
be executed by one
description.
NEXT
Real number
data
E1.23
D0
R0
E1.23
Character
D5
"CPU" D10
string data
D5
"0"
NULL
D6
*1
D0
R0
K2
Device
Insertion
where
position
the data
is to be
stored
D0
X0
X1
PLS M0
M0
Y8
X10 X11
PLS M10
M10
Y18
X170 X171
PLS M170
M170
Y178
Real number
data
D0
E3.45
D1
Character
string data
D10
"Q"
"CPU"
D11
"2"
D12
D13
FIF0 table
R0
3
R1
10
15
R2
20
R3
30
R4
CHAPTER1 OVERVIEW
Real number
data
R0
E4.68
R1
Character
string data
"0"
"Q"
"C"
"2"
"U"
"P"
NULL *1
FIF0 table
R0
4
R1
10
R2
15
R3
20
R4
30
1 - 8
1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents