EasyManuals Logo

Mitsubishi MELSEC Q Series Programming Manual

Mitsubishi MELSEC Q Series
1296 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #580 background imageLoading...
Page #580 background image
7-206
STR(P),DSTR(P)
(2) The total number of digits that can be designated by is from 2 to 8.
(3) The number of digits that can be designated by +1 as a part of the decimal fraction is from
0 to 5.
However, the number of digits following the decimal point must be smaller than or equal to
the total number of digits minus 3.
(4) BIN data in the range between 32768 and 32767 can be designated at .
(5) After conversion, character string data is stored at the device number or later device
number as indicated below:
(a) The sign "20
H
" (space) will be stored if the BIN data is positive, and the sign "2D
H
"
(minus sign) will be stored if it is negative.
(b) If the setting for the number of digits after the decimal fraction is anything other than "0",
"2E
H
" (.) will automatically be stored at the position before the first of the specified
number of digits.
If the number of digits in the decimal fraction part of the number is "0", the ASCII code
"2E
H
" (.) will not be stored.
(c) If the total number of digits following the decimal fraction is greater than the number of
BIN data digits, a zero will be added automatically and the number converted by shifting
to the right, so that it would become "0. ".
(d) If the total number of digits excluding the sign and the decimal point is greater than the
number of BIN data digits, "20
H" (space) will be stored between the sign and the
numeric value.
If the number of BIN digits is greater, an error will be returned.
(e) The value "00
H" is automatically stored at the end of the converted character string.
S1
S1
S2
D
6
2
Total number of digits
Number of digits
in decimal fraction
BIN data
12 34
Number of digits in decimal fraction
1234
Automatically added
.
6
3
0
.1
2
Automatically added
12
0
Total number of digits
Number of digits
in decimal fraction
BIN data
8
1
1
2
Filled with 20H (space)
.
3
12
3
Total number of digits
Number of digits
in decimal fraction
BIN data

Table of Contents

Other manuals for Mitsubishi MELSEC Q Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC Q Series and is the answer not in the manual?

Mitsubishi MELSEC Q Series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC Q Series
CategoryController
LanguageEnglish

Related product manuals