cancel
Showing results for 
Search instead for 
Did you mean: 

Drive Parameter Loading with the Drive Connect App

Drive Parameter Loading with the Drive Connect App

NickC
New Poster

I am investigating a feature involving a ctrlx core updating the parameters of a drive, given the drive has been replaced. I know this is to be done by the Drive connect app, but I'm struggling to find how exactly. I've searched through the forums and wasn't successful in finding someone using the drive connect app like this.

My first thought was to pull the data of the serial numbers of the connected drives, and if that didn't match the last time the core had been booted up to write the parameters stored within the drive connect apps data locations to the drives by their ethercat position. I was able to load firmware and drive parameters to the drive connect app, but have been unable to querry what drives are actually connected. 

Is there an example or guide somewhere on how to do this? The drive connect apps manual explains how to do it all manually but not how to do it automatically, as it happening without much human intervention is best. 

3 REPLIES 3

CodeShepherd
Community Moderator
Community Moderator

First of all, which versions of the ctrlX OS system apps and the DriveConnect app is used?

If you use the description for manual access you can do the same things e.g. automated via REST or also via a data layer client sending the same comands to the same nodes.

I am using 2.6 for the core and 2.4.2(legacy) for the DriveConnect app. Here is a screenshot of an attempt to pull the information as described by the DriveConnect manual.

NickC_0-1729168975870.png

I am able to pull information correctly from the data layer, after I already know the serial number of the drive, but I can't figure out how to pull the serial number in order to complete the filepath for the REST API to do it's job. I attempted to follow it with Node Red, and my subscription always says invalid address.

NickC_1-1729169452790.png

After some tinkering, just clicking the magnifying glass next to the path and setting it to /devices/drives seemed to make it work. Not sure why putting that in manually doesn't work, but the magnifying glass does. I'm going to keep working on this and potentially post my finished demo for someone else to follow. If I struggled someone else will too.

 

CodeShepherd
Community Moderator
Community Moderator

Which version of PLC Engineering is used, as the screenshot seems to be from the automatic subscription import and not all data types are working with all versions.
Some information to that:

  1. How to set up Data Layer watchlists and integrate them into ctrlX PLC [DOCU] - [VIDEO]
  2. Command “from ctrlX CORE watchlists...”

The IP address as well as username and password are normally part of the configuration of the subscription and not part of the inserted path. Please compare the path inserted via magnifying glass and manual.

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