Руководство пользователя по шлюзу Edge Computing: взаимодействие с ПЛК Omron по протоколу Hostlink

The guide is for connecting the Omron PLC to the EG Edge Gateway using the Hostlink protocol for data communication.

Статья, о которой мы говорили ранее:

How to integration EG edge computing gateway with the General Electric PLC

How to interface with Omron PLC via EtherNet/IP protocol

1. Подключение оборудования

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.

Interface with Omron PLC via Hostlink protocol01

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.

Interface with Omron PLC via Hostlink protocol02

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

Interface with Omron PLC via Hostlink protocol03

3. Конфигурация шлюза

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:
Протокол: Select HostLink

Последовательный порт: Select RS485-1 (based on actual hardware connections)

Скорость передачи данных: 9600

Биты данных: 8

Стоп-биты: 1

Паритет: EVEN

Station Number: 1

Interface with Omron PLC via Hostlink protocol04

3.2. Конфигурация точки данных

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:(Вы можете использовать Google Chrome для перевода). 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:

Interface with Omron PLC via Hostlink protocol05

3.3. Тестирование

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

Interface with Omron PLC via Hostlink protocol06

Связанные руководства по интеграции промышленных ПЛК

← Вернуться на страницу «Центр интеграции ПЛК»

О себе
db6893fd1d3e314ac461fa240068dc06?s=150&d=mp&r=g
Специалист по решениям в области Интернета вещей ~ Веб ~  Другие публикации

Агнес Ван — специалист по решениям в области Интернета вещей (IoT) в компании IOTRouter, специализирующаяся на промышленных шлюзах IoT, периферийных вычислениях и решениях для промышленной автоматизации.

Она специализируется на технологиях промышленной связи, в том числе на протоколах Modbus, IEC 60870-5-104, MQTT, OPC UA, интеграции ПЛК и приложениях для удаленного мониторинга. Она участвует в написании технических статей и руководств по применению, посвященных решениям в области промышленного Интернета вещей, преобразованию протоколов и пограничным вычислениям.

↑