Mitsubishi Electric MELSEC Q Series Programming Manual page 275

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

Advertisement

7 ERROR LIST
No.
Error Message
The keyword '*1' is
missing. (C8039)
(DO
UNTIL
41
OF
THEN
or
DO
enters *1.)
Illegal parameter for call of
42
*1. (C8040)
(FB name enters *1.)
The variable which stores
the return value of a
43
function is not specified.
(C8041)
7 - 11
Cause
"DO" is not described in the FOR syntax.
Example 1: FOR D1 := D2 TO D3 BY D4
"UNTIL" is not described in the REPEAT syntax.
"OF" is not described in the CASE conditional
statement.
"THEN" is not described in the IF conditional
statement.
"THEN" is not described in the ELSIF conditional
statement.
"DO" is not described in the WHILE syntax.
The description of the input, output or I/O variable of
the called FB is illegal.
Example 1: Diverted FB name: FB1
FB1(X10);
Example 2: Input variable: IN1
Diverted FB name: FB1
FB1(FB1.IN1);
The return value or the variable that will store the
return value does not exist in the function that has no
EN/EN0.
There is the following example where the variable
that will store the return value.
Example 1: INT_TO_DINT(D0);
Corrective Action
Describe "DO" in the FOR
syntax.
Describe "UNTIL" in the
REPEAT syntax.
Describe "OF" in the CASE
conditional statement.
Describe "THEN" in the IF
conditional statement.
Describe "THEN" in the
ELSIF conditional
statement.
Describe "DO" in the
WHILE syntax.
Correct the call description
of the FB.
Describe the return value of
the function.
7 - 11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents