Today, let’s talk about how to interface with AB PLC via EtherNet/IP protocol.
El artículo del que hablamos antes:
Cómo integrar la pasarela EG edge computing con General Electric PLC
Cómo integrarse con el PLC Xinjie mediante el protocolo Modbus RTU
How to interface with Keyence KV-8000 series PLCs via the MC-3E protocol
How to interface with Keyence KV-7500 series PLCs via the KV TCP protocol
How to interface with Panasonic PLCs via Mewtocol TCP Protocol
How to interface with Inovance PLC via Modbus RTU protocol
How to interface with AB PLC via PCCC protocol
1. Conexión de hardware
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.

2. Parámetros de comunicación PLC
2.1. Ethernet Parameter Settings
Provided by PLC Engineer
3. Configuración de la puerta de enlace
3.1. Configuración de la conexión del PLC
Drag an AllenBradley node from the left panel, double-click to open the settings page, and configure as follows based on the PLC’s network port parameters:
Protocolo: Select EtherNet/IP
Dirección: Enter the PLC address (e.g., 192.168.1.13)
Puerto: Enter the PLC connection port (e.g., 44818)
Tiempo de espera de la conexión: 2000
Tiempo de espera de comunicación: 2000
Keepalive Time: 60000
Slot: 0

3.2. Configuración de los puntos de datos
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.
Los puntos de datos suelen proporcionarlos los ingenieros de PLC. Una vez recibida la lista de puntos, rellene los puntos de datos de acuerdo con el formato requerido por la pasarela. Para obtener detalles específicos de la asignación, consulte:
Esta sección contiene contenido de Yueque. Haga clic en el enlace para ver: (Puedes utilizar Google Chrome para la traducción) 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:

3.3. Pruebas
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!
