2 command and response format, Kv -300 – KEYENCE Visual KV Series User Manual

Page 297

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

1

7

7.6.2

Command and Response Format

The format for commands and responses is as follows.

Format used when sending a command of 132 characters or more

1. First transmission data (131 characters max.)

2. Intermediate data transmission (128 characters max.)

3. Last transmission data (128 characters max.)

Note 1: When a command is divided into several segments for transmission, the first
and intermediate segments end with the delimiter (CR) instead of the terminator.

Note 2: When dividing a write command such as WR, WL, WH, WC, and WD, into
segments, do not divide a 4-character data for a same channel. Divide data by a 4-
character data for a channel.

Communication procedure when dividing a command into segments and sending
them sequentially

@

x

x

x

x

x

x

C

R

Station no. (00 to 15) Header code

Text (122 characters max.)

FCS

Terminator

FCS calculation range

@

X

X

X

X

X

X

C

R

Station no. (00 to 15) Header code Text no. 1 (123 characters max.)

FCS

Delimiter

FCS calculation range

Text no. 2 (125 characters max.)

X

X

C
R

FCS

Delimiter

FCS calculation range

Text no. 3 (124 characters max.)

X

X

C

R

FCS

Terminator

FCS calculation range

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

273

Advertising