Guida per l'utente del gateway Edge Computing: interfaccia con il PLC Omron tramite il protocollo EtherNet/IP

In this guide, we will discuss how to interface with Omron PLC via EtherNet/IP protocol. It is part of the PLC Integration Hub.

1. Connessione hardware

Compatible PLC: NX7

The Fins protocol utilizes Ethernet communication. Therefore, it is only necessary to ensure that the LAN port IP address of the gateway and the IP address of the Omron PLC are within the same subnet (Note: In special cases, they may not be on the same subnet, requiring route configuration; consult technical support for details). The IP address allocation for this example is as follows:

EG8200Mini

Omron PLC
Indirizzo IP 192.168.250.4 192.168.250.10

2. Parametri di comunicazione del PLC

2.1. Impostazioni dei parametri Ethernet

Interface with Omron PLC via EtherNetIP protocol1

2.2. Variable Address

Interface with Omron PLC via EtherNetIP protocol2

3. Impostazioni del gateway

3.1. Impostazioni di connessione del PLC

Drag an Omron node from the left panel and double-click to open the settings page. Configure the following based on the PLC’s serial port parameters:

Protocollo: Select Fins

Indirizzo: Enter the PLC address (e.g., 192.168.250.10)

Porto: Enter the PLC connection port (e.g., 44818)

Timeout della connessione: 2000

Timeout di comunicazione: 2000

Mode: TCP

SIot: 0

Interface with Omron PLC via EtherNetIP protocol3

3.2. Configurazione del punto dati

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

I punti dati sono tipicamente forniti dai tecnici del PLC. Una volta ricevuto l'elenco dei punti, compilare i punti dati secondo il formato richiesto dal gateway. Per una corrispondenza specifica, fare riferimento a:

Questa è una scheda di contenuto Yueque. Fare clic sul link per visualizzarla:(È possibile utilizzare Google Chrome per la traduzione.)

https://iotrouter.yuque.com/zn3vdn/eg8000/skfapgdm7332it5q

This example reads data from addresses A_MES_Heart and A_MES_Bind_C. 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 Omron PLC via EtherNetIP protocol4

3.3. Test

Click Deploy and observe that a data point is printed every 2 seconds. The read data point results are: D100: false, D102: 99. Communication successful!

Interface with Omron PLC via EtherNetIP protocol5

Guide correlate sull'integrazione dei PLC industriali

← Torna alla pagina "PLC Integration Hub"