Kv -300 – KEYENCE Visual KV Series User Manual

Page 304

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

7

Command format

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

includes the end code "00".)

Forced update of I/O relay/internal utility relay (WR)

This command forces updating (overwriting) of values of the I/O relays/internal utility
relays starting from the specified ch. within the specified range.

Command format

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

includes the end code "00".)

Note 1: The KV-300 CPU has 10 input addresses, 0000 to 0009. Therefore, when
data is written to 0000 ch, the KV-300 CPU ignores data written to input relays 0010
to 0015. Data cannot be written to addresses 0002 to 0004, or to addresses 0070 or
higher.

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

Update temporary data memory address (WH)

This command updates the temporary data memory addresses starting from the
specified TM no. within the specified range.

Command format

Station no.

nn

@

RJ

FCS

C

R

Read start ch.

nnnn

Number of

channels to

read

nnnn

Header

code

00 to 15

(in decimal)

Terminator

0001 to 0180
(in decimal)

0000 to 0179
(in decimal)

@

RJ

FCS

C

R

Station no.

nn

End Code

nn

Data

nnnn

Data
nnnn

Header

code

Terminator

Data written to write start
ch. +1 (in hexadecimal)

Data written to write start
ch. (in hexadecimal)

Station no.

nn

@

WR

FCS

C

R

Write start

ch.

nn

Data to write

nnnn

Data to write

nnnn

Header

code

Terminator

00 to 15

(in decimal)

Data written to
write start ch. +1
(in hexadecimal)

Data written to
write start ch.
(in hexadeci-
mal)

0000 to
0069 (in
decimal)

@

WR

FCS

C

R

Station no.

nn

End code

nn

Header code

Terminator

Station no.

nn

@

WH

FCS

C

R

Write start

TM no.

nnnn

Data to write

nnnn

Data to write

nnnn

Header

code

00 to 15

(in decimal)

Terminator

Data written to
write start TM
no. +1 (in
hexadecimal)

Data written
to write start
TM no. (in
hexadecimal)

0000 to 0029
(in decimal)

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

280

Advertising