Gruppe 95.png

ifm IO-Link Master DataLine EoE configuration

ctrlXW-Michael
Community Moderator


Introduction

What would we like to achieve?
  • Establish a connection between a PC and ctrlX CORE -> webserver + do configuration
  • Establish a connection between IO-Link Master (EtherCAT slave) and ctrlX CORE (EtherCAT master) -> no errors, OP mode
  • Exchange data via EtherCAT protocol (EtherCAT master <-> EtherCAT slave) -> can see object values
  • Use EtherCAT protocol to transmit TCP/IP traffic between PC and IO-Link Master -> ping, webserver, moneo

What equipment shall be used?
  • PC
  • EtherCAT Master -> ctrlX
  • EtherCAT Slave -> IO-Link Master DataLine

Cabling

Devices shall be connected according to the following schematic:

JulianWorld_0-1651823797469.jpg


Establish a connection between a PC and ctrlX PLC
  • In my ctrlX port XF10 has IP address = 192.168.1.1
  • It is connected with “Ethernet 4” interface in my PC
  • Ethernet 4 is configured as presented below

JulianWorld_1-1651823987409.jpg

With the configuration described above we are able to open the webserver:

JulianWorld_2-1651824181529.jpg


  • For the purpose of this presentation, we assume that IO-Link Master is in its default settings (right after factory reset was performed)
  • Cable between ports XF50 and X21 is connected
  • We start by adding EtherCAT Master in the PLC webserver

JulianWorld_3-1651824314733.jpg


  • Next, we go to the ctrlX I/O Engineering
  • EtherCAT Master should be added to the devices tree there

JulianWorld_4-1651824437500.jpg


In the ctrlX I/O Engineering we now do “Scan for Devices…” with the following result:

JulianWorld_5-1651824573599.jpg

ifm IO-Link Master should now be added to the project. 

NOTE: Take care about having up-to-date ESI file in your Device Repository.


After saving and uploading the project to the PLC we should be in OP mode.

JulianWorld_6-1651824709912.jpg

JulianWorld_7-1651824794116.jpg


Exchange data via EtherCAT protocol

In ctrlX I/O Engineering we should be able to see values of the objects of IO-Link Master.

JulianWorld_8-1651825026145.jpg


Use EoE
ctrlX I/O settings

We will start with the configuration in ctrlX I/O EngineeringFirst.

EtherCAT Master EoE configuration will be set to: 

JulianWorld_9-1651825165705.jpg

Next, EtherCAT slave will have its Expert settings enabled – with this the EoE Settings tab will appear.

EoE Settings tab should have the following content:

JulianWorld_10-1651825283497.jpg

We should now save our changes and upload this new configuration to the PLC.


PC settings
  • Because our PC is connecting with PLC via the network 192.168.1.0 it is not aware that the network 192.168.5.0 exists
  • In order to let our PC know how to reach the 192.168.5.0 network we need to use routing
  • With the help of the command presented below we will make a non-persistent entry to the Windows routing table
  • Route add 192.168.5.0 mask 255.255.255.0 192.168.1.1

JulianWorld_11-1651825385464.jpg


Communication test

After the routing in Windows is set, we should be able to communicate with devices in the network 192.168.5.0. To test this, we can use ping:

JulianWorld_0-1651827555053.jpg


IO-Link Master webserver

Webserver of IO-Link Master will be now reachable from the PC.

JulianWorld_1-1651827619934.jpg


IO-Link Master LRD

IO-Link Master can now connect with LRD (it has to be manually added to the device list).

JulianWorld_2-1651827700090.jpg


IO-Link moneo

IO-Link Master can now connect with moneo (it has to be manually added to the device list).

JulianWorld_3-1651827773736.jpg

 

Related Links 

The Company 

ifm is world market leader in sensor technology and a pioneer of Industry 4.0. The extensive product portfolio includes intelligent IO-Link sensors and IO-Link masters, as well as software solutions. Since its foundation in 1969 the ifm group has developed, produced and sold sensors, controllers, software and systems for industrial automation worldwide. Therefore, the company is the ideal partner when it comes to pioneering automation and digitisation technology.

ifm Logo.png

ctrlXW-Michael
ctrlXW-Michael
Hi, I'm Michael and I work in the Bosch Rexroth ctrlX World team. We build and orchestrate the ctrlX World Business Ecosystem. Contact me if you want to know more about it or if you would like to be part of it!

Must Read

Trending

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist