Mitsubishi MELSEC-q Programming Manual page 273

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

Advertisement

7 ERROR LIST
No.
Error Message
The variable which cannot
substitute a value for the *1
cannot be specified.
34
'*2'(C8028)
(Error location enters *1,
and function name, ":="
enters *2.)
Type mismatch at variable
*1 of '*2'. (C8029)
35
(Argument error location
enters *1, and function
name enters *2.)
Type mismatch for '*1'.
(C8030)
36
(Operator, such as ":=" or
"*" enters *1.)
No overload of '*1' takes *2
parameters. (C8031)
(Function name enters *1,
37
and the number of
arguments that do not match
the definition enters *2.)
7 - 9
Cause
The variable to which a constant, input variable or
other value cannot be assigned is specified in the
location where the value is assigned.
Example 1: Label (constant type): cnt
cnt := D10;
Assigned to the label constant.
Example 2: ABS_E(TRUE, d0, K10);
The constant is described in the output
variable of the function.
Example 3: FB input variable (word type): IN1
BPLUS_3_M(M0, K1, D0, FB1.IN1);
The input variable is specified in the
argument where the value is output.
The type of the variable does not match.
Example 1: Word type array: IntAry1[0..1]
M1 := BACOS_MD(TRUE,
IntAry1, D1);
The left member of the variable/device differs in data
type from the right member.
Example 1: D0 : =TRUE;
The bit type is assigned to the word
device.
Example 2: D1 := D2*M1;
The word type and bit type are operated.
Example 3: M0 := d1 > M1;
The word type and bit type are
compared.
The number of arguments for a function call does not
match the definition.
Example 1: ABS();
The number of arguments described is
less than the number of arguments
defined.
Example 2: d0 := ABS(10, 10);
The number of arguments described is
greater than the number of arguments
defined.
Corrective Action
Change the value into the
variable to which a value
can be assigned.
Correct the type in the
specified error location of
the function argument, or
correct the variable type.
Specify the same data type
in the left and right
members of the
variable/device.
Correct the number of
function arguments.
7 - 9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents