Mitsubishi MELSEC Q Series Programming Manual page 599

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

Advertisement

(6) In a case where the ASCII code "20
including the initial zero in a character string specified by
conversion is done.
S
S
S
S
S
(7) In a case where the ASCII code "30
an exponent format character string, the "30
performed.
(8) If the "20
" (space) code is contained in the character string, the code is ignored in the
H
conversion.
(9) Up to 24 characters can be set for a character string.
The codes "20
a character.
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 integer portion or the decimal fraction portion contains a character other than one in
the range of from "30
• There are two or more occurrences of the character "2E
designated by
• The exponent portion contains the code (character) other than "45
"45
"(E) or "2D
H
• Data after conversion is not within the following range.
-126
0, 2
• The code "00
• The number of characters in the character string following
(space)" or "30
H
b15
b8b7
20
(space)
2D
H
+1
31
(1)
30
H
+2
32
(2)
2E
H
+3
31
(1)
33
H
00
+4
-
0
1 . 2 3 1
Ignored
(0) " exists between the character "E" and a number in
H
b15
b8b7
20
(space)
2D
(-)
H
H
2E
(.)
31
(1)
H
H
34
(4)
30
(0)
H
H
33
(3)
35
(5)
H
H
2B
(+)
45
(E)
H
H
33
(3)
30
(0)
H
H
00
H
. 0 4 5 3 E + 0 3
-
1
Ignored
" (space) and "30
" (0) contained in the character string are also counted as
H
H
" (0) to "39
" (9).
H
H
.
D
"( ), or the string contains more than one exponent portion.
H
|data after conversion|
" does not appear in the range from
H
" (0) exists between numbers not
H
, it will be ignored when the
S
b0
(-)
H
D
+1
(0)
H
-1 . 2 3
(.)
H
(3)
H
32-bit floating-point
real number
" would be ignored when the conversion is
H
b0
D
+1
-1 . 0 4 5 3 E + 3
" (.) in the character string
H
128
2
to the relevant device.
S
is either 0 or more than 24.
S
EVAL(P)
D
1
D
(Error code: 4100)
(Error code: 4100)
"(E), "2B
"(+),
H
H
(Error code: 4100)
(Error code: 4100)
(Error code: 4101)
(Error code: 4100)
7-225
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