EasyManua.ls Logo

Mitsubishi Electric MELSEC-Q/L - Page 572

Mitsubishi Electric MELSEC-Q/L
1084 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
Loading...
570
7 APPLICATION INSTRUCTIONS
7.11 Character String Processing Instructions
In a case where the ASCII code "30H (0) " exists between the character "E" and a number in an exponent format character
string, the "30H" would be ignored when the conversion is performed.
If the "20H" (space) code is contained in the character string, the code is ignored in the conversion.
Up to 24 characters can be set for a character string. The codes "20H" (space) and "30H" (0) contained in the character
string are also counted as a character.
Operation error
In any of the following cases, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The improper data as shown below, which cannot be converted into (S),
have been set.
The characters other than "30H"(0) to "39H"(9) exist in the integral part or
decimal part.
Two or more "2EH"(.) exist in the character string.
The characters other than "45H"(E), "65H" (e), "2BH" (+), "2DH" (-) exist in
the character string.
The multiple exponents of "45H" (E), "65H" (e) exist in the character string.
Three digits or more numeric values are described on the exponents in the
character string.
Multiple codes exist on the exponent of "2BH"(+), "2DH(-)" in the character
string.
Multiple codes of "2BH"(+), "2DH(-)" exist in the positive number part of
the character string in a decimal point format; in the mantissa part of the
character string in an exponential format.
The number of character at (S) or later exceeds 0 or 24 characters.

4101 There is no NULL code "00H" within the range of the corresponding devices
starting from the device number specified by (S).

4141 The operation result exceeds the following range.
(when an overflow occurs)
| Data after conversion | < 2
128

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

Table of Contents

Related product manuals