Kv -300 – KEYENCE Visual KV Series User Manual

Page 307

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

1

7

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

includes the end code "00".)

Note 1: The KV-300 CPU has its own 10 input ports (0000 to 0009); therefore, when
data is written to 0000 ch, the KV-300 CPU ignores data to be written to input relays
0010 to 0015.

Note 2: Data cannot be written to addresses 0002 to 0004, or to addresses 0070 or
higher.

Note 3: Data cannot be written across special utility relays.

Note 4: The station no. is indicated in decimal; the end code, in hexadecimal.

Read set value of counter/timer/high-speed counter comparator (R#)

This command reads set values of the specified counter/timer/high-speed counter
comparator in the form of 4-digit BCD.

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: An underscore (_) in the instruction word represents a space. Be sure to
include the underscore in the instruction word when transmitting the command.

Note 2: If a set value exceeds 10000, 9999 is returned as the set value.
The station no. is indicated in decimal; the end code, in hexadecimal.

Update set value of counter/timer/high-speed counter comparator (W#)

This command updates the set value of the specified counter/timer/high-speed
counter comparator.

@

WJ

FCS

C

R

Station No.

nn

End code

nn

Header code

Terminator

@

R#

FCS

C

R

Station No.

nn

Instruction

word

xxxx

Operand

nnnn

Header code

00 to 15

(in decimal)

Terminator

Instruction word

Operand

Data

CNT_

0000 to 00249

Counter/timer

TIM_

CNT_

0250 to 0253

High-speed counter comparator

@

R#

FCS

C

R

0000 to 9999

(in decimal)

Station No.

nn

End code

nn

Set value

nnnn

Header code

Terminator

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

283

Advertising