beautypg.com

6 display interface mode programming, 1 operating in display interface mode, Communications protocols – KEYENCE Visual KV Series User Manual

Page 294: Kv -300

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

7

7.6

Display Interface Mode Programming

7.6.1

Operating in Display Interface Mode

Communications protocols

In Display Interface mode, the KV-L2 can be connected to a host computer (PC) or a
display device to monitor DM values, present values, set values of counters, and
timers, as well as relay ON/OFF information on the KV-300 CPU. It can also be used
to call up screens for insertion of numeric values on the display device with a wire-
saving system and simplified programs.
To begin, set the communications protocol to link mode and connect the KV-L2 to
the display device as described below.

Setting the operation mode

Turn OFF the power switch before setting the operation mode. Use the operation
mode setting switches A1 to A4 (SET A). A1 and A2 control the mode for port 1, and
A3 and A4 control the mode for port 2. (Ports 1 and 2 can be set independently.)

Set the operation mode setting switches A1 to A4 as shown above.

Setting the communications protocol

Set the baud rate, data bit length, parity, and stop bit using the SET B communica-
tions protocol setting switch accordance to the specifications of the display device.
Turn OFF the power switch before changing settings.

ON

OFF

A1

A2

A3

A4

Operation mode

Port 1

Port 2

A1

A2

A3

A4

KV mode

OFF

OFF

OFF

OFF

Display Interface mode

OFF

ON

OFF

ON

Non-procedure mode

ON

ON

ON

ON

ON

OFF

B1

B2

B3

B4

B5

B6

B7

B8

B1

B2

B3

B4

B5

B6

B7

B8*

Baud rate

1200 bits/s

OFF

OFF

OFF

OFF

2400 bits/s

ON

OFF

OFF

OFF

4800 bits/s

OFF

ON

OFF

OFF

9600 bits/s

ON

ON

OFF

OFF

19200 bits/s

OFF

OFF

ON

OFF

31250 bits/s

ON

OFF

ON

OFF

38400 bits/s

OFF

ON

ON

OFF

Setting disabled

ON

ON

ON

OFF

Parameters

Data bits

7 bits

OFF

OFF

8 bits

ON

OFF

Parity

None

OFF

OFF

OFF

Odd

ON

OFF

OFF

Even

ON

ON

OFF

Stop bit

1 bit

OFF

OFF

2 bits

ON

OFF

* Always leave B8 set to the OFF position.

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

270