7 - 7 7 - 7
7 ERROR LIST
No. Error
Message
Cause
Corrective
Action
23
Input '*1' was multiply
assigned. (C8016)
(Argument name enters *1.)
The same argument is used two or more times for an
FB call.
Example 1: I/O variable (bit type) : INOUT1
Diverted FB name: FB1
FB1(INOUT1 := TRUE,INOUT1 :=
FALSE);
Do not use the same
argument more than once
for an FB call.
24
Input '*1' unknown.
(C8017)
(Argument name enters *1.)
The argument of the FB to be called is not defined.
Example 1: I/O variable (bit type) : INOUT1
Diverted FB name: FB1
FB1(TMP_INOUT1 := TRUE);
Define the argument of the
FB to be called.
25
Invalid integer literal '*1'.
(C8018)
(Integer value enters *1.)
The integer value is illegal.
Example 1: D1 := 9999999999 ;
The integer value is greater than the
allowed range.
Correct the integer value to
within the allowed range.
26
Constant '*1' is wrong.
(C8019)
(Constant enters *1.)
The Boolean constant is illegal.
Example 1: D1 := 2##0011_0101;
The wrong Boolean constant is
described.
Example 2: M0 :=2 #F;
The wrong Boolean constant is
described.
Change the description of
the Boolean constant into
the usable one.
27
It is used except the INT
type for the element
number of an array
variable. (C8021)
Other than the word type is used for element
specification.
Example 1: Bit type array: BoolAry1
Real number type label: RealVal
BoolAry1[RealVal] := x0;
Example 2: Bit type array: BoolAry1
BoolAry1[D0<D1]
The wrong element specification is
described.
Change the data type of
the element into the word
type.
28
Array subscript is out of
bounds. (C8022)
The specified element number exceeds the element
range of the array definition.
Example 1: Word type array label (number of
elements 2): Kosu
Unit_No[5] := D0;
Change the element
number to the one within
the element range of the
array definition.
29
The variable which is non-
array variable is used as
array. (C8023)
The array format syntax was described in the
variable that is not an array variable.
Example 1: Word type label: W_TMP1
W_TMP1[2] := 100;
Described in the array format in the
variable that is not an array.
Example 2: aaa[1] := D0;
The undefined label is described in the
array format.
Correct the description of
the variable.
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: ......