Mitsubishi Q00JCPU User Manual page 54

Q series, logic
Hide thumbs Also See for Q00JCPU:
Table of Contents

Advertisement

1
OVERVIEW
(2) Structural description of programs
(3) Ease of data processing
Basic
Note1.5
Note5
Basic
Note1.5
1
1.3 Devices and Instructions Convenient for Programming
- 25
Using the index registers and edge relays, programs including pulse processing can
be structured easily. (
X0Z0 X1Z0
V0Z1
Diagram 1.22 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
E1.23
E+P
Real number ADD instruction
$+P
D5
Character string data LINK
instruction
* : NUL indicates "00
Diagram 1.23 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. (
• On the Basic model QCPU, character strings are available for only the $MOV, STR, DSTR,
VAL, DVAL, ESTR and EVAL instructions.
Section 9.2.6)
FOR n
Y8Z2
n pieces of similar
programs can be
described at one time!
NEXT
Note1.5
Note5
Real number data
D0
R0
E1.23
"CPU"
D10
Character
string data
D5
"0"
D6
NUL
(end of character string)".
H
Appendix 3.1 (2))
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"
D10
+
"CPU"
D11
"2"
D12
D13
Real number data
R0
E4.68
R1
Character
string data
"0"
"Q"
"C"
"2"
"U"
"P"
NUL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents