Table des matières
ToggleThe guide is for connecting the Omron PLC to the EG Edge Gateway using the Hostlink protocol for data communication.
L'article dont nous avons parlé précédemment :
How to integration EG edge computing gateway with the General Electric PLC
Comment se connecter à un automate Omron via le protocole EtherNet/IP
1. Connexion du matériel
Compatible PLC: CP Series
The Hostlink protocol uses serial communication. For this example, the PLC model CP1W-0026 uses RS485 communication. Simply connect the PLC’s 485 interface SDA- to the gateway’s B1 pin, and the PLC’s 485 interface SDB+ to the gateway’s A1 pin.

2. PLC Serial Parameters
Note the unit number (station number 1) and baud rate (9600-8-1-E). These parameters will be required for subsequent gateway configuration.

Note: DIP Switch Settings: 1 and 4 (OFF), 2, 3, 5, 6 (NO)

3. Configuration de la passerelle
3.1. PLC Connection Setup
Drag an Omron node from the left panel. Double-click to open the settings page and configure based on the PLC’s serial parameters as follows:
Protocole : Select HostLink
Port série : Select RS485-1 (based on actual hardware connections)
Débit en bauds : 9600
Bits de données : 8
Bits d'arrêt : 1
Parité : MÊME
Station Number: 1

3.2. Configuration des points de données
Enter the data points to be read in the Omron node’s parameter list. Once configured, the PLC data will be automatically retrieved at the set frequency. Data points are typically provided by PLC engineers. After obtaining the point list, enter data points in the format required by the gateway. For specific correspondence, refer to:(Vous pouvez utiliser Google Chrome pour la traduction) https://iotrouter.yuque.com/zn3vdn/eg8000/skfapgdm7332it5q
In the parameter list, fill in Address/Name/Data Type/Data Length sequentially. Set a 2-second cycle for periodic reading, as shown in the figure:

3.3. Essais
Click Deploy. Observe that a data point is printed every 2 seconds. Verify that the output value matches the actual value. Communication successful!

Guides connexes dans Intégration des automates industriels
← Retour au Hub d'intégration PLC
Agnes Wang est spécialiste des solutions IoT chez IOTRouter ; elle se consacre principalement aux passerelles IoT industrielles, à l'edge computing et aux solutions d'automatisation industrielle.
Elle est spécialisée dans les technologies de communication industrielle, notamment Modbus, la norme CEI 60870-5-104, MQTT, OPC UA, l'intégration d'automates programmables (PLC) et les applications de télésurveillance. Elle contribue à la rédaction d'articles techniques et de guides d'application consacrés aux solutions IoT industrielles, à la conversion de protocoles et à l'edge computing.
- Agnes Wang
- Agnes Wang



