beautypg.com

5 other response codes – KEYENCE Visual KV Series User Manual

Page 339

background image

7.2 Serial Communication

3-315

1

7

Chapter 7 Serial Communication

Forcing CTC contact OFF
Forces the contact of the specified high-speed counter comparator to OFF.

Command: RS_CTCn

High-speed counter comparator No.

Response: OK

Note 1: Input relays cannot be forced ON/OFF. (Except when special utility relay
2301 is ON.)
Note 2: "_" in commands and responses represents a space.

7.2.5

Other Response Codes

If the command from a computer is an unspecified one, or an error occurs in the KV,
the KV sends back an appropriate response code for the status.

Base unit
error

Response

code

Description

Cause

Remedy

• Undefined relay, counter,

timer, DM, CTH, or CTC
number was specified.

• Counter, timer, CTH, or

CTC number, unused in a
program was specified.

• Specify a number that is

defined in the KV being
used.

• Check a program, and

specify a number used in
the program.

• Undefined command was

transmitted.

• Incorrect command was

specified.

• Command other than "CR"

was transmitted before the
communications path was
established.

• Check a command.

• Transmit "CR" to start

communications, and then
transmit a command.

E0

E1

E2

E3

E4

E5

Relay No.
error

Command
error

Program
unregistered

Base unit
fault

Write-
protected

When the KV has no program
stored, "M1" was transmitted
or reading of timer/counter
content was attempted.

• Register a program into the

KV.

• Check a program and

specify the number used in
the program.

Hardware error was detected
in a KV base unit.

Turn off the power for the KV,
and then turn it on again. If
the cause of the error is not
removed, the KV may be
faulty. Contact your nearest
KEYENCE office.

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.

"M1" was transmitted before
cleaning an error message
from the KV.

Clear the error message from
the KV, and remove the cause
of the error.

KVNKA Chap 07.p65

08.3.11, 0:11 PM

315