Mitsubishi Electric MELSEC Q Series Programming Manual page 270

Structured text
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7 ERROR LIST
No.
Error Message
Type mismatch at
20
parameter '*1'. (C8013)
(Argument name enters *1.)
The variable which cannot
substitute a value for
IN_OUT/OUTPUT variable
21
cannot be specified. ('*1')
(C8014)
(I/O or output variable
name enters *1.)
Variable '*1' which cannot
be used as an argument of
22
FB is used. (C8015)
(Variable name enters *1.)
7 - 6
Cause
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.
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.
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);
Corrective Action
Match the type with that of
the FB call argument.
Specify a variable to which
a value can be assigned as
the I/O variable or output
variable of the called FB.
For an FB call, do not use
the variable other than the
input, output or I/O variable
of the FB.
7 - 6

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents