Une fois toutes les 5 minutes

Edge Computing Gateway User Guide: Interface with Keyence KV-7500 series PLCs via the KV TCP protocol

Today, let’s talk about how to interface the EG edge gateway with Keyence KV-7500 series PLCs via the KV TCPprotocol. 

The article we discussed before:

How to integration EG edge computing gateway with General Electric PLC

How to integration with Xinjie PLC via Modbus RTU protocol

How to interface with Keyence KV-8000 series PLCs via the MC-3E protocol

Compatible PLC: KV-7500 Series

1. Hardware Connection

The KV TCP protocol utilizes Ethernet communication. Therefore, simply ensure the gateway’s LAN port and the Keyence PLC’s IP address are within the same subnet.

EG8200Mini(LAN) KV-7500
IP address 192.168.0.88 192.168.0.10

2. PLC Communication Parameters

IP:192.168.0.10

Port: 8501

3. Gateway Configuration

3.1. PLC Connection Settings

Drag a Keyence node from the left panel, double-click to open the settings page, and configure as follows based on the PLC’s communication parameters:

Protocol: KV TCP

Network Port: Connected to the gateway’s LAN port

Address: 192.168.0.10

Port: 8501

Connection Timeout: 2000

Communication Timeout: 2000

Keepalive Time: 60000

Station ID: 0

Do not use station ID

Interface with Keyence KV-7500 series PLCs via the KV TCP protocol01

3.2. Data Point Configuration

Enter the data points to be read into the parameter list of the Keyence node. Once configured, the node will automatically read data from the PLC at the specified frequency.

Data points are typically provided by PLC engineers. After obtaining the point list, fill in the data points according to the gateway’s required format. For specific mapping details, refer to:

This section contains content from Yuque. Click the link to view:(You can use Google Chrome for translation) https://iotrouter.yuque.com/zn3vdn/eg8000/wgvrbfp0ivzdod3h

This example reads data from addresses DM490 and DM492. In the parameter list, enter the address/name/data type/data length in sequence. Data is read cyclically every 2 seconds, as shown in the figure:

Interface with Keyence KV-7500 series PLCs via the KV TCP protocol02

3.3. Testing

Click Deploy and observe that a data point is printed every 2 seconds. Verify that the data point name and corresponding value are returned—communication is successful!

Interface with Keyence KV-7500 series PLCs via the KV TCP protocol03

Nous contacter