1
-
8
CHAPTER1 OVERVIEW
1
1.4 D
evice
s and
Instr
uctions Useful for Pr
ogramming
(2) Structural description of programs
Use of the index register and edge relay enables easy 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.
*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 Structured programming including the pulse conversion processing
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
K2
R0
D0
FINSP
R0
R1
R2
R3
3
10
20
30
R4
R0
R1
R2
R3
4
10
15
20
30
R4
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
Содержание 00JCPU
Страница 1: ......
Страница 2: ......
Страница 96: ...2 51 2 4 5 Character string data 1 Definition The CPU module uses shift JIS code character strings...
Страница 541: ......
Страница 542: ......