Kv -300 – KEYENCE Visual KV Series User Manual

Page 309

Advertising
background image

7.6 Display Interface Mode Programming

KV-300 Series Only

KV

-300

KV-10/80

Chapter 7 KV-L2 Serial Interface Module

1-285

1

7

Response format (When the command is executed normally, the response

includes the end code "00".)

Set (KS)

This command sets the ON/OFF status of the specified channel of the I/O relay,
internal utility relay, temporary memory address, timer, counter, or high-speed
counter comparator.

Command format

*

An instruction word is specified with uppercase alphabetical characters.
An underscore (_) represents a space.

Response format (When the command is executed normally, the response

includes the end code "00".)

Note 1: High-speed counter comparator CTC cannot be force-reset.

Note 2: The temporary memory address can be changed by bit.

Note 3: An underscore (_) in the instruction word represents a space. Be sure to
include the underscore in the instruction word when transmitting the command.

Note 4: The station no., ch. no. to change, and bit to change are indicated in
decimal; the end code, in hexadecimal.

Reset (KR)

This command resets the ON/OFF status of the specified channel of the I/O relay,
internal utility relay, temporary memory address, timer, counter, or high-speed
counter comparator.

Operation mode

Description

00

PROGRAM mode

01, 02, 03

RUN mode

@

SC

FCS

C

R

Station No.

nn

End code

nn

Header code

Terminator

Station No.

nn

@

KS

FCS

C

R

Device

xxxx

Ch. no. to

change

nnnn

Bit to

change

nn

Header code

00 to 15

(in decimal)

Terminator

Device

Ch. No. to change

Bit to change

Data

CIO_

0000 to 0179

00 to 15

I/O relay, internal utility relay

HR_ _

0000 to 0031

00 to 15

Temporary memory address

AR_ _

0000 to 0179

00 to 15

I/O relay, internal utility relay

TIM_

0000 to 0249

00

Timer

CNT_

0000 to 0249

00

Counter

@

KS

FCS

C

R

Station No.

nn

End code

nn

Header code

Terminator

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

285

Advertising