Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important information on the platform change.

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

No Velocity feedback Motion - PLC

No Velocity feedback Motion - PLC

MauroRiboniMX
Contributor

Hi to everyone, 

Today i was starting an application with my customer and we encountered a problem. The device situation is the following:

MauroRiboniMX_0-1667575375811.png

ctrlX works 1.12.3. 

 

If we try to read the velocity of a real axis we have no feedback. In other hands the FB is working perfectly with a virtual axis. 

MauroRiboniMX_1-1667575455182.png

 

MauroRiboniMX_2-1667575469949.png

 

Do you know what can have we done wrong? This is the fist time i encounter this problem.

Thanks 

Mauro

 

 

7 REPLIES 7

Jochen_Mueller
Community Moderator
Community Moderator

Hello Mauro

Please take a look at this threat:

https://developer.community.boschrexroth.com/t5/ctrlX-MOTION/Axis-data-and-diag/m-p/61348

Regards

Jochen

Hello, 

I am the customer developing the application.

As I read in the suggested thread, I added the velocity and torque feedback to the variables in AT in the CtrlX IO Engineering. 

 

image.png

 Then I can see the variables in the Data Layer in the PLC

image (1).png

 However I still don't see the velocity varying from 0. I tried both linking a plc variable to the object in the datalayer both with the MC_ReadActualVelocity function block.

In the web interface/Axis profile, I can now see the feedbacks but I don't have where to map themInfo_1-1667817659503.png

Thank you,

Giacomo

Jochen_Mueller
Community Moderator
Community Moderator

Hello

Motion App Version 1.12

You are using the Version 1.12. Here the Motion don't support the Veloctiy Mode. So you don't have the possibilities to map the veloctiy at the axis profile.

-> The PLC open FB MC_ReadActualVelocity don't gives you any velocity data from the real drive (virtual it is working)

The only possiblity to get the drive veloctiy at the PLC, you have to map the value at the DataLayer_Realtime inside the PLC-Engineering.  -> see Screenshot. Here I make a global variable mapped to the AT.Velocity_feedback_value_of_encoder_1. You see the Value 91552 = 9,1552 RPM (DINT value)

notes:

  • the DataLayerRealtime looks different at your version. Because I have done the screenshot with the version 1.16. But the principe is the same.
  • You have to use the variable somewhere at the implementation that the value will be updated.

Jochen_Mueller_1-1667894080027.png

 

Motion App Version 1.14 and higher

Beside the upper descripted way, in the version 1.14 (or higher) the Motion App supports the velocity mode. Means it is possible to map it at the AxisProfile. Then the motion get's knowledge about the actual drive velocity and can be read vie the plcopen FB.

Jochen_Mueller_2-1667895590072.png

Jochen_Mueller_3-1667897370244.png

 

Regards

Jochen

Thank you for your precise answer.

We tested the velocity and we can now update correctly the velocity in exchange with Ethercat with Version 1.12.

Is there a way to update to 1.14? In the App section of the ctrlX web Interface I don't see any App with available updates and the version in the app store is 1.12.

Thank you

Hi, 

First of all thanks for the availability @Jochen_Mueller . Happy that it was not our misconf but just a "missing" feature in 1.12.

Till now we will manage to get the velocity using the readParameter function. (see Read Params thread). 

Thanks 

 

Mauro 

It would be actually interesting to know where to get version 1.14 of the motion app, if using 1.14 is the solution to the problem of getting the velocity.

CodeShepherd
Community Moderator
Community Moderator

The version 1.14 is out of support. Currently you will have to use version 1.18 that can be found in the collaboration room for approved customers. Get in contact with your know sales person from Bosch Rexroth to get access.

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