1
- 33
1.3 Devices and Instructions Convenient for Programming
1
OVERVIEW
(2) Structural description of programs
Using the index registers and edge relays, programs including pulse processing can
be structured easily. (
(3) Ease of data processing
(a) Real numbers and character string constants used unchanged
The real numbers (floating-point data) and character string constants can be used
unchanged in programming.
Note5
* 1 : NUL indicates "00
H
(end of character string)".
Figure 1.25 Structuring of programs including pulse processing
Note5
Figure 1.26 Use of real numbers and character string constants
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
n pieces of similar
programs can be
described at one time!
Basic
Note1.6
X0
R0
D0
E1.23
E+P
D10
D5
$+P
D0
D1
E3.45
R0
R1
E4.68
+
E1.23
D5
D6
+
D10
D11
D12
NUL*
1
*
1
NUL
D13
Real number ADD instruction
Character string data LINK
instruction
Real number data
Character
string data
Character
string data
Character
string data
Real number data
Real number data
"CPU"
"CPU"
"0"
"Q"
"2"
"0"
"C"
"U"
"Q"
"2"
"P"
When using real numbers (floating-point data) on the Basic model QCPU, check the version of
the CPU module. (
On the Basic model QCPU, character strings are available for only the $MOV, STR, DSTR, VAL,
DVAL, ESTR and EVAL instructions.
Basic
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......