brownfieldDevices.ethernetIp
Use an EtherNet/IP connection to read tags of a controller that speaks EtherNet/IP (CIP). A mapping entry reads one tag: ethernetIp: <connection>:<tag>. The TCP port is always 44818 and the UDP port is always 2222.
Example
brownfieldDevices:
ethernetIp:
- name: eip0
ipAddress: 192.168.1.69
mapping:
- node: /ua:Objects/di:DeviceSet/own:MyObject/own:MyInt32
ethernetIp: eip0:TagInt
The value
brownfieldDevices.ethernetIp: is a list. Each entry is an EtherNet/IP connection.
An EtherNet/IP connection
One EtherNet/IP controller. The gateway reads its tags.
| Key | What it does | Value | Required |
|---|---|---|---|
name | The name of the connection. A mapping entry uses it. Use a short name, for example eip0. | text | yes |
ipAddress | The IP address of the controller, for example 192.168.1.69. The TCP port is always 44818 and the UDP port is always 2222. | text | yes |
requestPacketInterval | The requested packet interval (RPI): how often the device sends its packets, in ms. | number | |
useConnectingMessaging | Set to true to use connected messaging. The default is false. | true or false | |
retryInterval | The time in ms that the gateway waits before it tries a broken connection again. | number | |
slot | The slot number of the CPU, or a custom path to it. | number, text or list of number | |
tags | Named values of the controller. A tag documents the layout of the device. A mapping entry does not need it. | list of tag |
A tag
A named value of a device, with its address. A tag documents the layout of the device.
| Key | What it does | Value | Required |
|---|---|---|---|
name | The name of the tag. It is unique in the connection, for example BoilerTempRaw. | text | yes |
address | The address of the value, without the connection name. The syntax depends on the protocol: DB1,INT2 for S7. | text | yes |
dataType | The data type in the protocol of the device, for example INT16 or FLOAT. | text | |
description | A text for people. The gateway puts it in the Description attribute of the variable. | text |