Animação de pairar

Edge Computing Gateway User Guide: Interface with Omron PLC via Fins protocol

Today, let’s talk about how to interface with Omron PLC via Fins protocol.

O artigo que discutimos anteriormente:

How to interface with Omron PLC via EtherNet/IP protocol

How to interface with Omron PLC via Hostlink protocol

1. Ligação do hardware

Compatible PLC: NJ101-1000

The FINS protocol uses Ethernet communication, so it is only necessary to ensure that the gateway’s LAN IP and the Omron PLC’s IP are on the same subnet (Note: in special cases, they do not need to be on the same subnet, but routing must be configured. For details, consult technical support). The IP addresses in this example are assigned as follows:

EG8200Mini Omron PLC
IP address 192.168.0.80 192.168.0.2

Interface with Omron PLC via Fins protocol01

2. Parâmetros de comunicação do PLC

2.1. Ethernet Parameter Settings

Interface with Omron PLC via Fins protocol02

2.2. Variable Addresses

Interface with Omron PLC via Fins protocol02

3. Definições da porta de entrada

3.1. Definições de ligação do PLC

Drag an Omron node from the left panel and double-click to open the settings page. Configure it according to the PLC’s communication parameters as follows:

Protocolo: Select FINS

Endereço: Enter the PLC address, in this example: 192.168.0.2

Porto: Enter the PLC connection port, in this example: 9600

Tempo limite de ligação: 2000

Tempo limite de comunicação: 2000

Mode: TCP

Unit Number: 0

Byte Order: ABCD

Interface with Omron PLC via Fins protocol04

3.2. Configuração do ponto de dados

In the parameter list of the Omron node, enter the data points you want to read. Once the data points are configured, the gateway will automatically read the PLC data at the set frequency.

Data points are usually provided by the PLC engineer. After receiving the point table, fill in the data points according to the format required by the gateway. For specific mappings, refer to:

Yuque content card:(Pode utilizar o Google Chrome para traduzir) https://iotrouter.yuque.com/zn3vdn/eg8000/skfapgdm7332it5q

In this example, data from addresses D100 and D102 are read. In the parameter list, fill in the Address / Name / Data Type / Data Length, and set the reading cycle to 2 seconds, as shown below:

Interface with Omron PLC via Fins protocol05

3.3. Ensaios

Clicar Implantar and observe that a data entry is printed every 2 seconds. The read data points should appear as: D100: false, D102: 99. Communication is successful!

Interface with Omron PLC via Fins protocol06

Contactar-nos