Mitsubishi Q00JCPU User Manual page 74

Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

1
OVERVIEW
(2) Structural description of programs
(3) Ease of data processing
Basic
Note1.6
Note5
Basic
Note1.6
1
- 33
1.3 Devices and Instructions Convenient for Programming
Using the index registers and edge relays, programs including pulse processing can
be structured easily. (
X0Z0 X1Z0
Figure 1.25 Structuring of programs including pulse 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.
X0
E+P
E1.23
Real number ADD instruction
$+P
D5
Character string data LINK
instruction
* 1 : NUL indicates "00
Figure 1.26 Use of real numbers and character string constants
When using real numbers (floating-point data) on the Basic model QCPU, check the version of
the CPU module. (
Appendix 4.1 (2))
On the Basic model QCPU, character strings are available for only the $MOV, STR, DSTR, VAL,
DVAL, ESTR and EVAL instructions.
Section 10.2.6)
FOR n
V0Z1
Y8Z2
n pieces of similar
programs can be
described at one time!
NEXT
Note1.6
Note5
Real number data
D0
R0
E1.23
D10
"CPU"
Character
string data
D5
"0"
NUL *
D6
(end of character string)".
H
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
"Q"
+
"CPU"
1
"2"
Real number data
R0
E4.68
R1
Character
string data
D10
"0"
"Q"
D11
"C"
"2"
D12
"U"
"P"
1
*
D13
NUL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents