You are on page 1of 6

KEYENCE KV Mode

1. Overview
This driver provides the software interface and communication protocol between XPanel and Keyence KV series PLCs. It supports the following families of Keyence PLCs. KV-10, KV-16, KV-24, KV-40 KV-300 with KV-L2 in KV mode

2. Communication Setup : XPanel


(1) Create a new device. For creating a new device activate the menu Tools->I/O Devices or bar. Following picture shows the first step of creating a new device. icon in tool-

I/O Device Name Give a device name. This name will be used in the TAG configuration window of database accompanied by the Station Name.

KEYENCE KV Mode - 1

(2) Select a network type : KEYENCE PLC (KV mode) After selecting the OK button of previous step, Serial Communication Configuration dialog box will be popped up as shown in following picture.

In this window, select the Device Type as KEYENCE PLC (KV mode) and configure the proper serial communication parameters.

(3) Create a station Move to the Station tab of Serial Communication Configuration dialog box. In this dialog box, all the connected PLC stations can be configured and registered to the XPanel. Each field can be configured with following rules. Station Name Give a name to the PLC. This name will be used in the database window accompanied with the Device Name. Station Type Choose one of following two network types : Multi-Drop (1:n) Peer to Peer (1:1) The Multi-Drop (1:n) can be chosen when the case of RS422/485 network. In this case, the Station No field of below has to be assigned as the number of PLCs station number. The Peer to Peer (1:1) can be chosen when the case of RS232C network. The Station No field has no meaning in this network. KEYENCE KV Mode - 2

Network ID This field has no effect. Station No. Specify a decimal number between 0 and 9. This is effective only when the Station Type of above is set as Multi-Drop (1:n). 16Bit Data Swap This field has no effect.

32Bit Data Swap This field has no effect Using Checksum This field has no effect. Comm. Error Message Pop Up If this item is checked, XPanel displays a communication error notification message at every Rx and Tx error. Otherwise(unchecked), XPanel does not display the message at data receive error. Only when there is data transmit (writing a TAG value to the station) error, the notification message is popped up. This message box will be closed automatically about 5 seconds after.

KEYENCE KV Mode - 3

3. Address Notation
The address of TAG in XPanel has the following format. TAG Type Analog Digital [Symbol][Address] [Symbol][Address] Format Example DM0012 R0215

Address : decimal number

Following table shows the list of devices which can be referenced in XPanel database. Symbol CC CP C CTHC CTHP CTH CTCC CTCP CTC TC TP T TM DM R AT Description Counter : Current Value Counter : Preset Value Counter Contact High Speed Counter : Current Value High Speed Counter : Preset Value High Speed Counter : Contact High Speed Counter Comparator : Current Value High Speed Counter Comparator : Preset Value High Speed Counter Comparator : Contact Timer : Current Value Timer : Preset Value Timer : Contact Temporary Data Memory Data Memory Relay (I/O, Internal AUX, Special AUX) Digital Trimmer Address Range 0-249 0-249 0-249 0-1 0-1 0-1 0-3 0-3 0-3 0-249 0-249 0-249 0 31 0 - 1999 0-17915 0-1 Type Analog Analog Digital Analog Analog Digital Analog Analog Digital Analog Analog Digital Analog Analog Digital Analog Access R/W R/W R/W R/W R R R R/W R/W R/W R/W R/W R/W R/W R/W R

Keyence KV mode protocol does not support block data read and write functions. Because of that, double word (INT32, UINT32, BCD32, UBCD32, FLOAT) data types are not supported. Ensure that especially for using following functions of XPanel. Recipe XY / SPC / Scope Trend

KEYENCE KV Mode - 4

4. Communication Cable Wiring


[KV-10, KV-16, KV-24, KV-40]

[KV-L2 module of KV-300]

KEYENCE KV Mode - 5

KEYENCE KV Mode - 6

You might also like