Mitsubishi MELSEC-q Programming Manual page 277

Melsec q series; melsec l series
Hide thumbs Also See for MELSEC-q:
Table of Contents

Advertisement

7 ERROR LIST
No.
Error Message
49
Division by zero. (C9065)
The return value of function
'*1' cannot carry out direct
50
reference. (C9066)
(Function name enters *1.)
Failed to read a system file.
51
(C9072)
The error occurred at the
conversion of function '*1'.
52
(C9076)
(Function name enters *1.)
The formula is used for the
53
input variable. (C9118)
7 - 13
Cause
0 is used as the divisor.
Example 1: D0 := 10/0;
Example 2: D1 := W1/K0;
When operation could not be performed by directly
referring to the return value of the character string
function (indicates the ***_STR(), LEFT(), RIGHT()
function).
Example 1: M0 := INT_TO_STR(D0) < "AAA";
The system file is corrupted.
The conversion result has an error.
Example 1: TIMER_H_M(X0, TC0, -1);
A negative value is used in the third
argument.
An operation expression or function was specified in
the input variable that specifies the head device of
the MELSEC function.
The bit type array element whose element number is
variable was specified in the specified input variable
of the MELSEC function.
The array element of other than bit type whose
element number is variable was specified in the
specified input variable of the MELSEC function.
Example 1: BMOV_M(X0, MAX (D0, D1, D2),
D100,D200);
The function was used in the input
variable.
Example 2: TO_M(X0, D0+1, D1, D2, D3);
The operation expression was used in
the input variable.
Example 3: DTO_M(X0, Dint1+K8X0, D1, D2, D3);
The operation expression was used in
the input variable.
Example 4: BKRST_M(X0, ARY[D0], D1);
The bit type array element whose
element number is variable was
specified in the input variable S1 that
specifies the head device.
Example 5: BKPLUS_M(M0, ARY[D1], ARY[D2],
ARY[D3], ARY[D4]);
The array elements whose element
number is variable were specified in the
input variables S1, S2 that specify the
head device.
Corrective Action
Correct the portion where 0
is used as the divisor.
Change the character
string function that resulted
in error into the other
program, and correct the
program to use the return
value of that character
string function.
The system file is
corrupted.
Reinstall.
In the argument of the
function, use the specifiable
data type or the data within
the specifiable range.
• When the operation
expression or function
was specified
An operation expression
or function cannot be
specified in the input
variable that specifies the
head device.
Specify a label name or
device.
• When the bit type array
element whose element
number is variable was
specified
The bit type array element
whose element number is
variable cannot be
specified in the argument
that specifies the head of
the device.
Change the element
number into a constant, or
specify the label name or
bit device.
• When the array element
other than bit type whose
element number is
variable was specified
If the array element
whose element number is
variable is specified, there
is a limit on the index
registers used in the
compiler.
Therefore, make
correction, e.g. change
the element number into a
constant, specify the label
name or bit device, or
reduce the number of
specified array elements
used in a single function.
7 - 13

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents