5 kv mode programming, 1 operating in kv mode, Communications protocol – KEYENCE Visual KV Series User Manual

Page 277: Kv -300

Advertising
background image

7.5 KV Mode Programming

KV-300 Series Only

KV

-300

KV-10/80

Chapter 7 KV-L2 Serial Interface Module

1-253

1

7

7.5

KV Mode Programming

7.5.1

Operating in KV Mode

Communications protocol

In KV mode, the KV-L2 operates in the same manner as a KV-300 CPU performing
communications. Set the communications protocol to KV mode and connect the KV-
L2 to external units as described below.

Setting the operation mode

Set the operation mode using the operation mode setting switch SET A (A1 to A4).
Use A1 and A2 to set the mode for port 1, and A3 and A4 to set the mode for port 2.
Turn off the power switch before setting the operation mode.

Communications protocol

This table shows the communications protocol for KV mode. Refer to this table when
setting the communications parameters of the external unit to be connected.

When setting the external unit to be connected, refer to the instruction manual
supplied with the unit.
When the module is set to KV mode, the communications protocol specified by the
communications protocol setting switch SET B is invalid.

Connecting to the KV-L2

When using port 1
When connecting the KV-L2 to an external unit with an RS-232C port, connect the
RS-232C cable as shown in the following figures. Alternatively, use either a stan-
dard or null modem RS-232C connection cable (optional) to port 1 (RS-232C).

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

Duplex

Full

Synchronization

Start/stop

Data format

ASCII

Baud rate

9600 bits/s

Data length

8 bits

Parity check

Even

Stop bit length

1 bit

D-Sub 25-pin
connector

1

23

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

2
3
4
5

7

SD

RD

RS
CS

SG

KV-L2

2
3
4
5
6

20

7

SD
RD
RS
CS
DR
ER
SG

2
3
4
5

7

SD

RD

RS
CS

SG

KV-L2

2
3
4
5
6

20

7

SD
RD
RS
CS
DR
ER
SG

External unit

designated as DTE

External unit

designated as DCE

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

253

Advertising