Error List - Mitsubishi MELSEC-q Programming Manual

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

Advertisement

7 ERROR LIST

No.
Error Message
Description of a constant is
8
wrong. (C1020 to C1023)
Variable '*1' undefined.
9
(C1028)
(Variable name enters *1.)
An error is in element
10
specification of array.
(C1033)
Function '*1' is undefined.
11
(C1049)
(Function name enters *1.)
A variable name or a
12
device name is too long.
(C1077)
7 - 3
Cause
The unsupported data type was used, or the constant
was described wrongly.
As illegal descriptions, there are the following
examples.
Example 1: W_TMP := TIME#1100_0101;
Example 2: W_TMP := T#0;
Example 3: W_TMP := 2#0;
Example 4: W_TMP := DT#1900-01-01,
00:00:00;
Example 5: W_TMP := D#1994-06;
Example 6: W_TMP := TOD#09:30:61;
An undefined variable was used.
There are the following examples of using undefined
variables.
Example 1: I_TEST := 1 ;
The label is used without label setting
being made.
Example 2: D0 := HAAH;
Characters other than A to F are used in
hexadecimal.
Example 3: D0 := 1234 ;
The method of specifying the array element is wrong.
Example 1: Word type array label: W_ARY
W_ARY[0,1] := 1;
The array was described in the format
different from the defined one.
An undefined function was used.
There is the following example of using an undefined
function.
Example 1: Real number type label: RE_1
M0 := OS_E_MD(TRUE,E1.0,RE_1);
The variable name has more than 16 characters, or
the device name is too long.
There are the following program examples that will
result in an error.
Example 1: abcde678901234567 := D10;
Example 2: D0 := D000000 • • •
00000000000001;
The device name is too long.
Corrective Action
The used data type is not
supported.
Correct the data type.
Correct the description of
the constant.
Define the used variable.
Correct the description of
the array.
Correct the description of
the function name.
Use the defined variable
name.
Correct the description of
the device.
7 - 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-l

Table of Contents