7 - 6 7 - 6
7 ERROR LIST
No. Error
Message
Cause
Corrective
Action
20
Type mismatch at
parameter '*1'. (C8013)
(Argument name enters *1.)
The FB call argument does not match in type with the
specified value or variable.
There are the following examples that will result in
the above error.
Example 1: Input variable (word type): IN1
Diverted FB name: FB1
FB1(IN1 := TRUE);
A bit type variable is specified in the
word type input variable.
Example 2: Input variable (word type): IN1
Output variable (word type): OUT1
Diverted FB name: FB1
Double word type: DIN1
FB1(IN1 := DIN1);
A double word type variable is specified
in the word type input variable.
Match the type with that of
the FB call argument.
21
The variable which cannot
substitute a value for
IN_OUT/OUTPUT variable
cannot be specified. ('*1')
(C8014)
(I/O or output variable
name enters *1.)
The variable to which a value cannot be assigned
has been specified as the I/O variable or output
variable of the called FB.
Example 1: I/O variable: IO_TEST1
IO_TEST1 := TRUE;
Diverted FB name: FB1
A constant is passed to the I/O variable.
Example 2: Input variable: IN1
Output variable: OUT1
Diverted FB name: FB1
Word type constant label: wCon
FB1(IN1 :=1,OUT1 := wCon);
A constant label is passed to the word
type output variable.
Specify a variable to which
a value can be assigned as
the I/O variable or output
variable of the called FB.
22
Variable '*1' which cannot
be used as an argument of
FB is used. (C8015)
(Variable name enters *1.)
The value is passed to the variable other than the
input, output or I/O variable of the called FB.
There is the following example that will result in the
above error.
Example 1: Input variable IN1
Output variable OUT1
Variable TEST1
Diverted FB name: FB1
FB1(TEST1 := X10);
For an FB call, do not use
the variable other than the
input, output or I/O variable
of the FB.
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: ......