Skip to main content

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.

KeyWhat it doesValueRequired
nameThe name of the connection. A mapping entry uses it. Use a short name, for example eip0.textyes
ipAddressThe IP address of the controller, for example 192.168.1.69. The TCP port is always 44818 and the UDP port is always 2222.textyes
requestPacketIntervalThe requested packet interval (RPI): how often the device sends its packets, in ms.number
useConnectingMessagingSet to true to use connected messaging. The default is false.true or false
retryIntervalThe time in ms that the gateway waits before it tries a broken connection again.number
slotThe slot number of the CPU, or a custom path to it.number, text or list of number
tagsNamed 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.

KeyWhat it doesValueRequired
nameThe name of the tag. It is unique in the connection, for example BoilerTempRaw.textyes
addressThe address of the value, without the connection name. The syntax depends on the protocol: DB1,INT2 for S7.textyes
dataTypeThe data type in the protocol of the device, for example INT16 or FLOAT.text
descriptionA text for people. The gateway puts it in the Description attribute of the variable.text