Kv -300, Read kv-300 cpu operation mode (ms), Change kv-300 cpu operation mode (sc) – KEYENCE Visual KV Series User Manual

Page 308

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

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: 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: A set value exceeding 10000 cannot be specified.
The station no. is indicated in decimal; the end code, in hexadecimal.

Read KV-300 CPU operation mode (MS)

This command reads the KV-300 CPU operation status.

Command format

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

includes the end code "00".)

Change KV-300 CPU operation mode (SC)

This command changes the KV-300 CPU operation mode.

Command format

Station No.

nn

@

W#

FCS

C

R

Instruction

word

xxxx

Operand

nnnn

New set

value

nnnn

Header code

00 to 15

(in decimal)

Terminator

0000 to 9999

(in decimal)

Instruction word

Operand

Data

CNT_

0000 to 00249

Counter/timer

TIM_

CNT_

0250 to 0253

High-speed counter comparator

@

W#

FCS

C

R

Station No.

nn

End code

nn

Header code

Terminator

Station No.

nn

@

MS

FCS

C

R

Header

code

00 to 15

(in decimal)

Terminator

Station No.

nn

@

MS

FCS

C

R

End code

nn

Operation

mode

nnnn

Header code

Terminator

RUN mode: 0061,
PROGRAM mode: 0261

Station No.

nn

@

SC

FCS

C

R

Operation

mode

nn

Header code

Terminator

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

284

Advertising