7 - 13 7 - 13
7 ERROR LIST
No. Error
Message
Cause
Corrective
Action
49
Division by zero. (C9065)
0 is used as the divisor.
Example 1: D0 := 10/0;
Example 2: D1 := W1/K0;
Correct the portion where 0
is used as the divisor.
50
The return value of function
'*1' cannot carry out direct
reference. (C9066)
(Function name enters *1.)
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";
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.
51
Failed to read a system file.
(C9072)
The system file is corrupted.
The system file is
corrupted.
Reinstall.
52
The error occurred at the
conversion of function '*1'.
(C9076)
(Function name enters *1.)
The conversion result has an error.
Example 1: TIMER_H_M(X0, TC0, -1);
A negative value is used in the third
argument.
In the argument of the
function, use the specifiable
data type or the data within
the specifiable range.
53
The formula is used for the
input variable. (C9118)
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.
• 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.
Summary of Contents for MELSEC L series
Page 1: ...Programming Manual Structured Text ...
Page 2: ......
Page 73: ...4 33 4 33 4 ST PROGRAM EXPRESSIONS MEMO ...
Page 297: ......