EtherNet/IP – First Steps

  1. Add a controller that is to be used as an EtherNet/IP master (scanner) to your project.
  2. Import the EDS file of a slave device (adapter) via the “Tools” tab > “Device Repository.”
  3. Right-click on the controller and click Insert Device ....
  4. Select the “Ethernet” item under “EtherNet/IP” > “EtherNet/IP Adapter” and click [Insert Device].
  5. Inserting Ethernet/IP Device
  6. Double-click the “Ethernet (Ethernet)” element to configure the Ethernet interface.
  7. On the General tab, click [Browse ...], select network adapter “br0” and enter the IP address for the EtherNet/IP interface.
  8. Configuring EtherNet/IP Interface
  9. In the device tree, right-click “Ethernet (Ethernet)” and select Insert Device ....
  10. Select the “EtherNet/IP Scanner” under “EtherNet/IP.”
  11. Select Insert Device ... and leave the dialog open.
  12. Inserting EtherNet/IP Scanner
  13. Click on the “EtherNet_IP_Scanner (EtherNet/IP Scanner)” element in the device tree and select the slave device (adapter) imported via the EDS file in the dialog that is still open.
  14. Selecting EtherNet/IP Slave
  15. Click [Insert Device].
  16. Double-click on the slave device in the device tree to open the slave configuration and specify connections and assemblies.
  17. Configuring EtherNet/IP Slave
  18. In EtherNet/IP, I/O data (input and output data points) is transferred via so-called connections (the term “Connections” is also used in e!COCKPIT). When the fieldbus starts up, one or more of these connections can be established between an EtherNet/IP master and an EtherNet/IP slave. The input and output data points of a connection and the configuration data are grouped into so-called assemblies. To see which connections a slave device supports, consult the device description file (EDS file) or the respective product manual of the slave. The connections and the data to be transferred are usually configured automatically using the information contained in the EDS file.
  19. On the “Connections” tab, use [Add Connections ...] to create new connections according to your product manual.
  20. Click on the new connection and then click [Edit Connection ...] to set the path in the dialog and to set or change the size of the input/output data (T → O / O → T) for your connections.
  21. Click the Assemblies tab to see how the assemblies were created according to your input/output data.