Mitsubishi Electronics QnUCPU Home Theater Server User Manual


 
1 - 8
(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)
(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
programming.
*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.
Figure 1.13 Structured programming including the pulse conversion processing
Figure 1.14 Using real numbers and character string constants
Figure 1.15 Data processing with the table processing instruction
X0 X1
PLS M0
M0
Y8
X10 X11
PLS M10
M10
Y18
X170 X171
PLS M170
M170
Y178
X0Z0 X1Z0
Y8Z2
FOR n
NEXT
V0Z1
Multiple number (n) of
similar programs can
be executed by one
description.
Real number addition instruction
Real number
data
X0
E+P E1.23
E1.23
E3.45 E4.68
D0
D0
D5
D10
D11
D12
D13
D6
"0" "Q"
"CPU"
"2"
"0"
"C"
"U"
"Q"
"2"
"P"
D1
R0
R1
R0
$+P D5 "CPU" D10
Real number
data
Real number
data
Character string data link instruction
Character
string data
Character
string data
Character
string data
NULL
*1
NULL *1
X0
K2R0D0FINSP
R0
R1
R2
R3
3
10
20
30
R4
R0
R1
R2
R3
4
10
15
20
30R4
D0
15
Insertion
position
Instruction for inserting data
to the table
FIF0 table FIF0 table
Device
where the
data is
currently
stored
Device
where
the data
is to be
stored