10 - 62 10 - 62
MELSEC-Q
10 DEVICES
10.12.3 Real numbers (E)
(1) Definition
Real numbers are devices which designate real numbers in the sequence
program.
Real numbers are designated as "E
"settings (e.g. E1.234).
X1
E1.234 D0
EMOVP
See Section 4.8.4 for details on real numbers.
(2) Designation range
The setting range for real numbers is -1.0 2
128
to -1.0x2
-126
, 0 and 1.0 2
-126
to
1.0 2
128
.
(3) Designation method
Real numbers can be designated in sequence programs by a "normal
expression" or an "exponential expression".
• Normal expression............ The specified value is designated as it is.
For example, 10.2345 becomes E10.2345.
• Exponential expression .... The specified value is multiplied by a
" 10
n
"exponent.
For example, 1234 becomes E1.234 + 3. 1
REMARK
1:The "+3" in the above example represents a 10
n
value (10
3
).
10.12.4 Character string ( " " )
(1) Definition
Character string constants are devices used to designate character strings in
sequence programs.
They are designated by quotation marks (e.g. "ABCD1234").
(2) Usable characters
All ASCII code characters can be used in character strings.
The QCPU is sensitive to uppercase and lowercase characters.
(3) Number of designated characters
Character strings extend from the designated character to the NUL code (00
H
).
You can use up to 32 characters for a character string in an instruction such as
$MOV.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...