Edge Computing Gateway User Guide: Interface with AB PLC via EtherNet/IP protocol

This guide focuses on connecting Allen-Bradley PLC to the EG Edge Gateway via the EtherNet/IP protocol. It provides a clear setup process for industrial communication.

Related article:

How to interface with AB PLC via PCCC protocol

1. Hardware-Anschluss

Compatible PLC: AB 1769-L23-QB1B

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

Interface_with_AB_PLC_via_EtherNetIP_protocol01

2. PLC-Kommunikationsparameter

2.1. Ethernet-Parameter-Einstellungen

Provided by PLC Engineer

3. Gateway-Einstellungen

3.1. PLC-Verbindungseinstellungen

Drag an Allen-Bradley node from the left panel, double-click to open the settings page, and configure as follows based on the PLC’s network port parameters:

Protokoll: Select EtherNet/IP

Adresse: Enter the PLC address (e.g., 192.168.1.13)

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

Zeitüberschreitung der Verbindung: 2000

Zeitüberschreitung bei der Kommunikation: 2000

Keepalive-Zeit: 60000

Slot: 0

Interface_with_AB_PLC_via_EtherNetIP_protocol02

3.2. Datenpunkt-Konfiguration

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

Die Datenpunkte werden in der Regel von SPS-Ingenieuren bereitgestellt. Füllen Sie nach Erhalt der Punktliste die Datenpunkte entsprechend dem erforderlichen Format des Gateways aus. Spezifische Details zum Mapping finden Sie unter:

Dieser Abschnitt enthält Inhalte von Yueque. Klicken Sie auf den Link, um ihn zu sehen: (Sie können Google Chrome für die Übersetzung verwenden) https://iotrouter.yuque.com/zn3vdn/eg8000/tcxbmwqbg7k7f5ah

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

Interface_with_AB_PLC_via_EtherNetIP_protocol03

3.3. Prüfung

Click Deploy and observe that a data point is printed every 2 seconds. The read data point results are: XT:true, XT1:5. Communication successful!

Interface_with_AB_PLC_via_EtherNetIP_protocol04

Verwandte Leitfäden zur industriellen PLC-Integration

← Zurück zu PLC Integration Hub