beautypg.com

7 non-procedure mode programming, 1 operating in non-procedure mode, Communications protocol – KEYENCE Visual KV Series User Manual

Page 316: Kv -300

background image

7.7 Non-procedure Mode Programming

KV-300 Series Only

KV

-300

KV-10/80

Chapter 7 KV-L2 Serial Interface Module

1-292

7

7.7

Non-procedure Mode Programming

7.7.1

Operating in Non-procedure Mode

Communications protocol

In non-procedure mode, the KV-L2 can be connected to an external device having
an RS-232C or RS-422A terminal to write a series of text data (100 bytes maximum)
into data memory as a batch and to send text data from data memory to a connected
device.
Setting of the communications protocol and connection of the KV-L2 to an external
device are 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.

Set the operation mode setting switch A1 to A4 as above.

Setting the communications protocols

Set the baud rate, data bit length, parity, and stop bit with communications protocol
setting switch SET B (B1 to B8) according to the specifications of the external device
to be connected. Turn OFF the power switch before setting the switches.

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

8400 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

KVHKA Chap 07_5to10.p65

08.3.11, 11:18 AM

292