App - 15 App - 15
MELSEC-Q
APPENDIX
Error message
Code
(hexadecimal)
Meaning
Corrective action
Sequential I/O Only
70 (46
H
)
Only a sequential input/output can be
executed.
Perform only sequential
input/output when accessing the
sequential file.
String formula too
complex
16 (10
H
)
Character expression is too complex.
Reduce the complexity of the
character expression.
String too long
15 (F
H
)
The number of characters in a
character variable exceeds 255
characters.
Decrease the number of
characters in one variable to 255
or less.
Subscript out of range
9 (9
H
)
The value of a subscript for an array
variable is out of the specified range.
Modify the program so that the
subscript remains within the
range specified by the DIM
instruction.
Syntax error
2 (2
H
)
The command description does not
follow the syntax.
Describe according to the syntax.
System error (nnnn)
– (–)
See Appendix 4.4.2.
—
Time out error
31 (F
H
)
Characters for the specified number
of bytes are not entered within the
time specified by the INPUT$
instruction.
Check whether or not there was
an input.
Type mismatch
13 (D
H
)
The types of variables do not match
on the left and right sides of an
expression or in the argument of a
function, etc.
Modify the program so that the
variable types match.
Undefined line number
8 (8
H
)
The line number required as a jump
destination (jump destination for
GOTO, GOSUB, etc.) does not exist.
Check the line number of the
jump destination.
Undefined user function
18 (12
H
)
It is attempted to call a user function
that is not defined by the DEFFN
function.
Define the function with the
DEFFN function before using.
WEND without WHILE
78 (4E
H
)
There must be a WHILE instruction
for each WEND instruction (there are
too many WEND).
Make sure that the instructions
match.
WHILE without WEND
77 (4D
H
)
There must be a WEND instruction
for each WHILE instruction (there are
too many WHILE).
Make sure that the instructions
match.
Unprintable error
Undefined (–)
An error whose error message is
undefined.
—