Mitsubishi Electronics QCPU Welding System User Manual


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