Mitsubishi MELSEC Q Series Programming Manual page 595

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

5) The ASCII code "2C
value if the exponent is positive in value, and the code "2D
exponent is a negative value.
6) The exponent portion is fixed at 2 digits.
If the exponent portion is only 1 digit, the ASCII code "30
between the sign and the exponent portion of the number.
7) The value "00
Operation Error
(1) In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and
an error code is stored into SD0.
• The
value is not within the range indicated below:
S1
-126
0, 2
• The format designated by
• The total number of digits designated by
When using decimal point format
When the number of decimal fraction digits is "0"
....................... Total number of digits
When the number of decimal fraction digits is other than "0"
....................... Total number of digits
When using exponent format
When the number of decimal fraction digits is "0"
....................... Total number of digits
When the number of decimal fraction digits is other than "0"
....................... Total number of digits
• The number of digits designated for the decimal fraction portion of the value by
outside the ranges indicated below:
When using the decimal point format
....................... Number of decimal fraction digits
When using the exponent format
....................... Number of decimal fraction digits
• The value whose total digits exceeds "24" is specified.
• The device range to store the character string designated by
device range.
• The device specified by
(For the Universal model QCPU, LCPU.)
• The value of the specified device is
(For the Universal model QCPU, LCPU)
" (+) will be stored as the sign for the exponent portion of the
H
S2
1
S2
12
+1
4
+2
S2
S1
+1
S1
-1 2 . 3
4 5 6 7
" is automatically stored at the end of the converted character string.
H
128
|
|
2
S1
was neither 0 nor 1.
S2
exceeds the range of the corresponding device.
S2
" (0) will be stored
H
Total number of digits (12)
Fixed to 2 digits
-
1
.
2 3 4
6 E + 0 1
Filled with
30
H
+ 1 is outside the ranges shown below.
S2
2
(Number of decimal fraction digits + 3)
6
(Number of decimal fraction digits + 7)
(Total number of digits
(Total number of digits
D
0, unnormalized number, nonnumeric, and ±
ESTR(P)
" ( ) will be stored if the
H
(0) code
(Error code: 4100)
(Error code: 4100)
(Error code: 4100)
+2 was
S2
(Error code: 4100)
3)
7)
(Error code: 4100)
exceeds the relevant
(Error code: 4101)
(Error code: 4101)
.
(Error code: 4140)
7-221
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents