Kv -300 – KEYENCE Visual KV Series User Manual

Page 313

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

1

7

When specifying ch. nos. 0250 to 0253 for CNT_, CTC and CTH can be monitored.
The specified ch. no. of the device has the following ON/OFF data and current
values.

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

includes the end code "00".)

Note 1: Up to 128 channels can be registered. Attempting to registering more than
128 channels will result in an error (end code: 5A).

Note 2: A device is specified with uppercase alphabetical characters. An underscore
(_) represents a space.

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

Combined commands for reading monitor I/Os (QQIR)

This command reads the ch. information or DM data according to the table registered
by the monitor I/O register command.

Command format

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

includes the end code "00".)

Note 1: The data is read in the order it was registered by the monitor I/O register
command.

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

Note 3: For the counter/timer, only the ON/OFF data is read if no ch. is specified at
registration.

Channel No.

0250

0251

0252

0253

ON/OFF data

CTC0

CTC1

CTC2

CTC3

Current value

CTH0

CTH0

CTH1

CTH1

Station No.

nn

@

QQ

MR

FCS

C

R

Station No.

nn

Header code

Sub header code

Terminator

Station No.

nn

@

QQ

IR

FCS

C

R

Header

code

Sub

header

code

Terminator

00 to 15

(in decimal)

@

QQ

IR

ON/

OFF

FCS

ON/

OFF

,

,

,

,

C

R

Station no.

nn

End code

nn

Ch. data

nnnn

Header code

Sub header code

ON/OFF information + current
value when ch. of counter/timer
is specified

Data

delimiter

Bit ON/OFF

information

Ch. data

nnnn

Data to be read (in hexadecimal) when
ch. of I/O relay, internal utility relay,
temporary data memory address, or
data memory address is specified.

Terminator

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

289

Advertising