Kv -300 – KEYENCE Visual KV Series User Manual

Page 285

Advertising
background image

7.5 KV Mode Programming

KV-300 Series Only

KV

-300

KV-10/80

Chapter 7 KV-L2 Serial Interface Module

1-261

1

7

E2

Program
unregis-
tered

• "M1" was transmitted with no

program stored in the KV-300
CPU.

• Reading of timer/counter was

attempted.

• Register a program into the

KV-300 CPU.

• Check the program for the

timer/counter number being
used and specify it.

E3

CPU fault

• Hardware error was detected

in a KV-300 CPU.

• Turn the power to the KV-300

OFF and then ON again. If
the cause of the error is not
corrected, the CPU may be
faulty. Contact your nearest
KEYENCE office.

E4

Write-
protected

• Attempt was made to change

the preset value of a counter,
timer, or CTC in a write-
protected program.

• Write-enable the program,

and change the preset value.

E5

CPU error

• "M1" was transmitted before

an error message was
cleared from the KV-300.

• Clear the error message from

the KV-300 CPU, and remove
the cause of the error.

Error code list

Error codes included in responses to the KV-300 CPU error check command (?E)
as well as error descriptions, causes of error, and remedies are listed below.

Error

Code

Description Cause

Remedy

00

No error

—

—

10

CALL nest
error

• Subroutines are nested to four

levels or more.

• These errors may occur when

a program is executed. Check
the program while paying
particular attention to usage of
subroutines and the INT
instruction, and restore the
program accordingly.

11

FOR nest
erro

• FOR-NEXT instructions are

nested to eight levels or more.

12

INT nest
error

• Five levels or more of inter-

rupts occurred simultaneously.

13

MPS nest
error

• MPS/MPP instructions are

nested to eight levels or more.

20

Memory
erased

• Contents of RAM are erased.

All data in data memory and
current values of counters in
the KV-300 CPU are cleared.

• Check data in data memory

and current values of counters,
and re-enter correct data. The
KV-300 CPU returns to normal
operation after the error is
cleared.

30

Scan time
error

• Scan time exceeds 300 ms.

• Check the program again.

• Be sure that there is no

excessive repetition using the
FOR-NEXT loop.

• Be sure that an interrupt is not

executed at a higher rate.

40

NO PRO-
GRAM

• An attempt was made to

operate the KV-300 CPU with
no program stored.

• Write a program into the

KV-300 CPU.

50

SND/RTN
failure

• Hardware error was detected

in a KV-300 CPU.

• Turn the power to the KV-300

OFF and then ON again. If
the cause of the error is not
removed, the KV-300 CPU
may be faulty. Contact
nearest KEYENCE office.

51

Division by
zero

52

Address
error

53

Invalid
instruction

54

Watchdog
timer error

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

261

Advertising