cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

IO-Link gateway

Borje
Member

IO-Link gateway

Hello

We have a project in Codesys where we use ETC_ADS_IoLinkRead and ETC_ADS_IoLinkWrite FB from library EtherCATStack to read and write IO-Link parameters over EtherCAT to the IO-Link matser. Our idea is to try to move our project to ctrlX Core. We want to write IO-Link parameters over EtherCAT to the sensors at start up. Is there any FB for reading and writing IO-Link objects from an EtherCAT IO-Link gateway for ctrlX Core?

Tags (2)
3 REPLIES 3
Petter
Member

Re: IO-Link gateway

We are also looking into this, we assumed it should work but now are not so sure. Will this get implemented soon?

flowbow
New Poster

Re: IO-Link gateway

I have the same issue: I would like to to read and write parameters of an IO-Link device. For this task I am looking for a funkction block.

As far as I could see, Codesys standard would be the function block ETC_ADS_IOLinkRead from the library IODrvEtherCAT. The same as mentioned in the previous post.

However, this library seems not to be included in the installation of ctrlX Works (v1.4.1) (download source: online collab. room).

Workaround: manual installation after export of the library above and some additional libraries due to dependencies. The export was done by a colleague from DC-AE.

 

Result: No errors in the code, but reading the parameters does not work. The function block seems to get stuck during execution. The output parameter xBusy remains permanently TRUE and xDone remains FALSE. The settings or input parameters have been successfully tested and verified using a soft PLC (Codesys) with the same IO-Link hardware.

I wonder if there is a release planned as the colleague (from DC-AE) who exported the libraries had the those available in his ctrlX works version.

JuliRaus
Member

Re: IO-Link gateway

Hello,

with the release RM21.03 we will provide PLC funtion blocks for AoE read and AoE write.

  • IL_ECATAoeRead
  • IL_ECATAoeWrite

With these fuction blocks Aoe devices like an IO-Link Master can be accessed indirectly. So you can Read / Write Data from IO Link devices. IO -Link specific functionality has to be implemented within the plc program. Later on we will provide IO function blocks based on this two AoE function blocks for direct IO-Link access.

If you have any questions feel free to ask.

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