A-9 errors that occur during compilation – KEYENCE KV Series User Manual

Page 185

Advertising
background image

Appendices

2-161

1

Appendices

A-9

Errors that occur during compilation

Error messages displayed during compilation are shown in the table below.
When this type of error message is displayed, eliminate the cause of the error, and
then perform compilation again.

Error message

Cause

Countermeasures

Not enough memory.
Abort conversion.

There is not enough memory to
complete the compilation.

Confirm that there is enough memory
and hard disk space.

Too many errors.
Abort conversion.

Because 100 errors or more
occurred during compilation,
compilation was aborted.

Correct each error.

First operand is
unnecessary.

The mnemonic of an instruction
word is incorrect. (This error often
occurs when a file created by a
commercial editor or word proces-
sor is opened and the mnemonic list
is edited.)

Confirm the specifications of the
instruction using the manual or the
help function.

Instruction is
repeatedly used.

An instruction which can be used
only once has been used two or
more times.

Second operand is
unnecessary.

Third operand is
unnecessary.

First operand form is
illegal.

Second operand
form is illegal.

Third operand form
is illegal.

First operand value
is illegal.

Second operand
value is illegal.

Third operand value
is illegal.

First operand is not
found.

Second operand is
not found.

Third operand is not
found.

Use the instruction only once.

Operand is repeat-
edly used.

An operand which can be used only
once has been used two or more
times.

Use the operand only once.

Unusable in interrupt
program.

An unusable instruction is used in
an interrupt program.

Change the program so that another
method is used.

Instruction position
error.

A subroutine or an interrupt program
is described before the END
instruction.

Describe the program between the
END instruction and the ENDH
instruction.

Nested levels in
subroutine is too many.

The number of nested levels in the
subroutine exceeds 4.

Change the program so that the
number of nested levels is 4 or less.

Undefined subroutine
exists.

The program is terminated without a
called subroutine being defined.

Describe the subroutine program
between the END instruction and the
ENDH instruction.

Subroutine No. is
repeatedly used.

Two or more subroutines with the
same number are defined.

The number assigned to each
subroutine should be different.
Change the program.

Nested levels of
paired instruction is
too many.

The number of nested levels of
paired instructions exceeds the
maximum number.

Change the program so that the
number of nested levels is within the
maximum.

Usage of paired
instruction is incorrect.

An instruction to be used as a pair is
not used as a pair.

Change the program so that it is used
as a pair.

Parallel connection is
used in STG instruction.

The STG instruction contains an
OR (parallel) connected block.

Never use an OR (parallel) connection
in the STG instruction.

END instruction is not
found.

The END instruction is not found in
the program before the ENDH
instruction.

Include the END instruction in the
program before the ENDH instruction.

ENDH instruction is
not found.

The ENDH instruction is not found
in the last line of the program.

Include the ENDH instruction in the last
line of the program.

STG instruction
position error.

The STG instruction is not present
at the head of a block.

Include the STG instruction at the
head of a block.

Include the SFT instruction within the
available range.

SFT instruction
operand error.

The SFT instruction operand is
outside the available range.

KVSKA Appendix.P65

08.3.11, 11:26 AM

161

Advertising