Edge Computing Gateway Benutzerhandbuch: Schnittstelle mit Xinjie PLC über Modbus RTU-Protokoll

In diesem Tutorial konzentrieren wir uns auf das Edge-Computing-Gateway der EG-Serie mit SPSen. Wir hoffen, dass es Ihnen weiterhilft.

Der Artikel, den wir zuvor besprochen haben:

So integrieren Sie das EG-Edge-Computing-Gateway in die SPS von General Electric

Today, let’s talk about how to integrate with Xinjie PLC.

Compatible PLC: Xinjie XD Series

1. Hardware-Anschluss

The Modbus RTU protocol utilizes serial communication. For this example, the PLC model XD3-16T employs RS485 communication. Simply connect the PLC’s 485 port A to the gateway’s A1, and the PLC’s 485 port B to the gateway’s B1.

Interface with Xinjie PLC via Modbus RTU protocol1

2. PLC-Kommunikationsparameter

2.1. Serial Port Parameter Settings

Interface with Xinjie PLC via Modbus RTU protocol2

3. Gateway-Einstellungen

3.1. PLC-Verbindungseinstellungen

Drag a XinJE node from the left panel and double-click to open its settings page. Configure the following based on your PLC’s serial port parameters:

Protokoll: Select Modbus RTU

Serieller Anschluss: If connected to A1/B1, select RS485-1

Baudrate: 19200

Datenbits: 8

Stoppbits: 1

Parität: Even

Zeitüberschreitung bei der Kommunikation: 2000

Series: XD

Station ID: 1

Format: ABCD

Interface with Xinjie PLC via Modbus RTU protocol3

3.2. Datenpunkt-Konfiguration

Enter the data points to be read into the parameter list of the XinJE node. Once configured, the node will automatically read data from the PLC at the specified frequency.

Die Datenpunkte werden in der Regel von SPS-Ingenieuren bereitgestellt. Nachdem Sie die Punktliste erhalten haben, tragen Sie die Datenpunkte entsprechend dem vom Gateway geforderten Format ein. Einzelheiten zur Zuordnung finden Sie unter:

Dieser Abschnitt enthält Inhalte von Yuque. Klicken Sie auf den Link, um diese anzuzeigen: https://iotrouter.yuque.com/zn3vdn/eg8000/crnxbmg1g0p20geq

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

Interface with Xinjie PLC via Modbus RTU protocol4

3.3. Prüfung

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

Interface with Xinjie PLC via Modbus RTU protocol5

Verwandte Leitfäden zur industriellen PLC-Integration

← Zurück zu PLC Integration Hub

About Me
db6893fd1d3e314ac461fa240068dc06?s=150&d=mp&r=g
IoT Solutions Specialist ~ Web ~  More Posts

Agnes Wang is an IoT Solutions Specialist at IOTRouter, focusing on industrial IoT gateways, edge computing, and industrial automation solutions.

She specializes in industrial communication technologies, including Modbus, IEC 60870-5-104, MQTT, OPC UA, PLC integration, and remote monitoring applications. She contributes to technical articles and application guides covering industrial IoT solutions, protocol conversion, and edge computing.