Kv -300, Test (ts) – KEYENCE Visual KV Series User Manual

Page 312

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

7

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

includes the end code "00".)

Test (TS)

This command returns the exact command sent from the host computer as a
response.

Command format

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

includes the end code "00".)

Note: The command returns a terminator or delimiter (whichever was given) as the
data delimiter.

Combined commands for registering monitor I/Os (QQMR)

This command registers the devices such as I/O relays, counters, timers, data
memory addresses, temporary data memory addresses, high-speed counters, or
high-speed counter comparators that are to be read into the table. Once registered,
these values are retained until the restart or initial command is received, data is re-
registered, or power is cut off. The table registered by this command is to be read by
the monitor I/O read command.

Command format

*

A device is specified with uppercase alphabetical characters. An underscore (_)
represents a space. Set any character except the control code as the operand.
ON/OFF shows the contact status.

Station No.

nn

@

MM

FCS

C

R

End code

nn

Model code

nn

Header code

Terminator

(KV-300): 13 (in hexadecimal)

Station No.

nn

@

TS

FCS

C

R

Any char140 acters

(122 characters max., except "CR")

Header code

00 to 15

(in decimal)

Terminator

(or delimiter)

Station No.

nn

@

TS

FCS

C

R

Any characters

(122 characters max., except "CR")

Header code

Terminator

(or delimiter)

@

QQ

MR

FCS

,

,

C

R

Station no.

nn

Device

xxxx

Ch. no.

nnnn

Operand

nn

00 to 15

(in decimal)

Header

code

Sub header code

Device

xxxx

Ch. no.

nnnn

Operand

nn

Data delimiter

Device

Ch. No.

Operand

Response

Data

CIO_

0000 to 0179

00 to 15 or CH

ON/OFF or channel data

I/O relay, internal utility relay

HR_ _

0000 to 0031

00 to 15 or CH

ON/OFF or channel data

Temporary data memory address

AR_ _

0000 to 0179

00 to 15 or CH

ON/OFF or channel data

I/O relay, internal utility relay

TIM_

0000 to 0249

Any characters or CH

ON/OFF or ON/OFF + current value

Timer

CNT_

0250 to 0249

Any character or CH

ON/OFF or ON/OFF + current value

Counter

CNT_

0250 to 0253

Any character or CH

ON/OFF or ON/OFF + current value

High-speed counter comparator CTC

DM_ _

0000 to 9999

Any character

Channel data

DM

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

288

Advertising