Today, let’s talk about how to interface with AB PLC via EtherNet/IP protocol.
L'articolo di cui abbiamo parlato prima:
Come integrare il gateway di edge computing EG con General Electric PLC
Come integrare il PLC Xinjie tramite il protocollo Modbus RTU
Come interfacciarsi con i PLC Keyence della serie KV-8000 tramite il protocollo MC-3E
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. Connessione 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. Parametri di comunicazione del PLC
2.1. Ethernet Parameter Settings
Provided by PLC Engineer
3. Gateway Settings
3.1. Impostazioni di connessione 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:
Protocollo: Select EtherNet/IP
Indirizzo: Enter the PLC address (e.g., 192.168.1.13)
Porto: Enter the PLC connection port (e.g., 44818)
Timeout della connessione: 2000
Timeout di comunicazione: 2000
Tempo di mantenimento: 60000
Slot: 0

3.2. Configurazione del punto dati
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.
I punti dati sono tipicamente forniti dai tecnici del PLC. Una volta ricevuto l'elenco dei punti, è necessario compilare i punti dati secondo il formato richiesto dal gateway. Per dettagli specifici sulla mappatura, consultare:
Questa sezione contiene contenuti di Yueque. Fare clic sul link per visualizzare: (È possibile utilizzare Google Chrome per la traduzione.) 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. Test
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!
