Kv -300 – KEYENCE Visual KV Series User Manual

Page 310

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-286

7

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: Temporary memory addresses can be changed by bit.

Note 2: An underscore (_) in the instruction word represents a space. Include the
underscore in the instruction word when transmitting the command.

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

Set/reset multiple channels (FK)

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

Command format

*

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

@

KR

FCS

C

R

Station No.

nn

Device

xxxx

Ch. no. to

change nnnn

Bit to change

nn

Header code

00 to 15

(in decimal)

Terminator

Station No.

nn

@

KR

FCS

C

R

End code

nn

Header code

Terminator

@

FK

FCS

C

R

Station No.

nn

Device

xxxx

Channel to

change

nnnn

Data to force-set/-reset

mmmmmmmmmmmmmmmm

Header

code

00 to 15

(in decimal)

Terminator

"m" represents a bit of data

(total: 16 bits)

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

CNT_

0250 to 0253

00

High-speed counter comparator CTC

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

CNT_

0250 to 0253

00

High-speed counter comparator CTC

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

286

Advertising