Today, let’s talk about how to interface the EG edge gateway with Inovance PLCs via the Modbus RTU 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
1. Connessione hardware
Compatible PLC: Inovance H3U
The Modbus RTU protocol uses serial communication. This example PLC model employs RS232 communication.
2. Parametri di comunicazione del PLC
2.1. Serial Port Parameter Settings
Fornito dal tecnico del PLC.
The serial port parameters for this Inovance PLC are:
Baud Rate: 57600
Data Bits: 8
Stop Bits: 1
Parity Bit: NONE
3. Configurazione del gateway
3.1. PLC Connection Setup
Drag an Inovance node from the left pane. Double-click to open the settings page and configure as follows based on the PLC’s serial parameters:
Protocollo: Select Modbus RTU
Serial Port: RS232
Baud Rate: 57600
Data Bits: 8
Stop Bits: 1
Parity: None
Timeout: -1
Series: H3U
ID stazione: 0x0B
Format: ABCD

3.2. Configurazione del punto dati
Enter the data points to be read into the parameter list of the Inovance node. Once configured, the node will automatically read data from the PLC at the specified frequency.
I punti dati sono in genere forniti dai tecnici dei PLC. Dopo aver ottenuto l'elenco dei punti, compilare i punti dati secondo il formato richiesto dal gateway. Per dettagli specifici sulla mappatura, consultare:
This section contains a Yueque content card. Click the link to view:(È possibile utilizzare Google Chrome per la traduzione.) https://iotrouter.yuque.com/zn3vdn/eg8000/dqdvyosc5vubd2rv
This example reads data from addresses D6000 and D6002. In the parameter list, enter the address/name/data type in sequence. The data is read cyclically every 2 seconds, as shown in the figure:

3.3. Test
Click Deploy and observe that data is printed every 2 seconds. The read data point results are: D6000:0 D6002:0. Communication successful!
