Edge Computing Gateway User Guide: Interface with AB PLC via PCCC protocol

This guide focuses on connecting Allen-Bradley PLC to the EG Edge Gateway via the PCCC protocol. It is suitable for beginners looking to set up industrial communication quickly. 

Related article: How to interface with AB PLC via the EtherNet/IP protocol

1. Connessione hardware

Compatible PLC: AB SLC 5/05

The PCCC 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 PCCC protocol01

2. Parametri di comunicazione del PLC

2.1. Impostazioni dei parametri Ethernet

Provided by PLC Engineer

3. Impostazioni del gateway

3.1. Impostazioni di connessione del PLC

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:

Protocollo: Select PCCC

Indirizzo: Inserire l'indirizzo del PLC (ad esempio, 192.168.0.59).

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

Timeout della connessione: 2000

Timeout di comunicazione: 2000

Interface with AB PLC via PCCC protocol02

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 address F8:1. In the parameter list, enter the address/name/data type/data length sequentially. The data is read cyclically every 2 seconds, as shown in the figure:

Interface with AB PLC via PCCC protocol03

3.3. Test

Connect to the debugging node, click Deploy, and observe that a data point is printed every 2 seconds. The read data point result is:

{F8:1:42669}. Communication successful!

Interface with AB PLC via PCCC protocol04

Guide correlate sull'integrazione dei PLC industriali

← Torna alla pagina "PLC Integration Hub"