Mitsubishi Electric melsec q00ujcpu User Manual page 33

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

Advertisement

Table of Contents
loading

Table of Contents