Dear Community User! We are updating our platform to a new system.
Read more: Important information on the platform change.

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

Problem with axis profile

Problem with axis profile

mirazchiew
Established Member

Hello,

I have a problem with axis profile. I use CANopen over Ethercat stepper drivers. I encountered no difficulties in defining the axis. When defining the signals, I have entered the minimum requirements for the profile to be defined.

PIC 1

Unfortunately after trying to start my axis throws an error which can be seen in the picture below.

PIC 2

When checking the Data layer, I noticed that the data in the scaling-information is not correct, and I tried several times to enter the correct data, but without success. Every time I make some corrections and write them, it shows me a message that the new data has been saved and after the message disappears, the corrected data goes back to its previous state.

Bifore add data:

PIC 3

After add data:

PIC4

PIC5

I try to download also the configuration file, to adjust these parameters and upload it again. But without success.

Can you tell me how I can change this data?

24 REPLIES 24

Michael_A
New Contributor

Seems that there is something wrong with your axisprofile json

the last entries should be like this

},
"profileBasicData": {
"name": "Profile_5",
"type": "CANopen_over_Ethercat"
},
"scalingInfo": {
"denominator": 1,
"numerator": 1,
"resolution": 1,
"scalingStrategy": {
"strategy": "COE_CALC_DRIVE"
},
"scalingType": {
"scalingType": "UNDEFINED"
}
}
}

 

You can try to write this in your json or delete the axis profile and add it again.

 

 

Linhan
Established Member

Hello, 

If the driver you are using not Rexroth driver, the strategy value in picture4 should be COE_CALC_CONTROL instead of COE_CALC_DRIVE.

Maybe it can help by fix this value.

mirazchiew
Established Member

Hi

Thanks for your help! 

It did accept the change, but unfortunately the red message from pic 2 remained

Linhan
Established Member

Hello,

I gauss the operation mode should be set to position mode on drive side.

Could you please offer more information about the diagnostic log (when the red error occur ,click the red link)?

 

mirazchiew
Established Member

hi,

I send Diagnostic_Log file.

Linhan
Established Member

Hello,

In order to catch more detail information from log file, here are two extra settings before export the log:

step1: select axisprofile trace information on data layer

Linhan_0-1676941414570.png

step2: trigger the error.

final: export the log.

Once the detail error information uploaded, we can check it more detail.

mirazchiew
Established Member

Hi, 

I do the new log file.

Linhan
Established Member

Hello,

Please add some filter item before download the log file, then we will get some trace information about axis-profile.

Linhan_0-1676966607209.png

Linhan_1-1676966656240.png

 

 

 

mirazchiew
Established Member

Hi,

It's much better now. There are only 8 messages.

Linhan
Established Member

Hello,

In the picture 1,  "probe1-active" are mapped , but current touch-probe function not support CoE.

I suggest just keep position and statusword for inputs,  controlword and position for outputs.

Linhan_0-1677029525977.png

 

mirazchiew
Established Member

Hi, 

I remove probe1-active after I make this tema and I keep position and statusword for inputs,  controlword and position for outputs, but efekt is same. Тhat's exactly why i made this topic. I see no good reason for it to give me messages and not allow me to start axes.

Did you get this sorted out? I'm running into a similar situation and setting the scaling type in the JSON to either LINEAR or ROTARY instead of UNDEFINED got me a step further. Still having issues, but you might try that.

mirazchiew
Established Member

Unfortunately, I'm still struggling to get rid of the error I get when launching the Motion app. I also asked other colleagues for assistance, but to no avail. No one can tell me why I get this error. Entercat is working as I can see through CtrlX Engineering that I have signal exchange, I even managed to manually enable the motor, but in CtrlX Core it doesn't see the motor driver and there is no signal exchange, which is very strange. Unfortunately, I'm not very familiar with CtrlX Core, and due to the lack of information, what exactly is the problem with the axis profile, I don't know what to do to start a motion app (it will be much easier for me to write the program later)

Hello, i tried CoE with my testset (but only IndraDrive with CoE) an this is working.
In my case i had to change the scaling strategy to COE_CALC_DRIVE and scalingType ROTARY in my JSON for the axisprofile.
If you have still problems
- set the traces for axisprofile (as decribed from Linhan)
-try to switch the axisprofile to running
-if you run into your problem generate a system report and add it here


Michael_A_0-1679656000357.png

 

 

hi,

This is systyem report.

Hi, the axisprofile tries to read out the drive operation mode (first line)
Is it possible that there is a problem with the parameters of your drive, especially the operation mode?

 

Name: Profile_1; Type: CoE; Addr: 1001; current drive operation mode: Unknown, which is not supported
Name: Profile_1; Type: CoE; Addr: 1001; CoE-Read (SYNC): Object Index=6060dh, SubIndex = 0000dh, Address: fieldbuses/ethercat/master/instances/ethercatmaster/device_access/coe/sdo
Name: Profile_1; Type: CoE; Addr: 1001; New acceleration data scaling LSB weight = 1.000000
Name: Profile_1; Type: CoE; Addr: 1001; New torque data scaling LSB weight = 1.000000

Name: Profile_1; Type: CoE; Addr: 1001; New velocity data scaling LSB weight = 1.00000

 

In my IndraDrive there is a startup parameter configured

Michael_A_0-1679659836243.png

Can you check if in your device a parameter like this exists?
Or add the configuration of your project (inlc. IO-Project).

 

hi 

Yes, such parameter is exist, but name is Mode of operation.

Which mod should i use according to you,becouse I traed with CSP(Cyclic Synchronous Position) mode, now I'm in PP mode (Profile Position)

You please append your current configuration?
Manage app data --> Save to archive

I think CSP - Mode should be the right one

Michael_A_0-1679665195732.png

 

I place in CSP mode, and send you arhive.

Ok, at the moment i can not see any problems with the configuration.
May be the axisprofile has a problem with reading the parameter.
I will try to clarify on monday.

Hi, please trying the set blow:

1. As Linhan said above, plese don't mapping the item other than status-/control word, position. Because the PDOs in red box are currently not available for CoE profile: 

Jin_0-1679899566132.png

2. According to the trace error, the error is clearly points to that the operation mode is unknow, currently, only operation mode 8(Cyclic sync position mode) is available for CoE profile, therefore, the operation mode should be 8, as the red box(0x6061) in the figure blow:

Jin_1-1679899663947.png

The 0x6060 could be set here:

Jin_2-1679899811063.png

After set the value as 8 here, download to ctrlX Core is also necessary(red box). But I suggest to set in drive software.

3. I checked the IO configuration, because I don't have the hardware, so only part information are available for me:

Jin_3-1679900140290.png

The receive PDO2 - 4 and transmit PDO 2 looks strange on my side. Please try to create a new IO project for configuration and please do not add PDOs other than status-/control word, position.

 

4. Another tip is: Axisprofile does not supports profile type change after profile has been created. So please always select CANopen_over_Ethercat, if you need a  CoE profile.

Jin_4-1679900383677.png

 

5. 

Jin_5-1679900395457.png

The parameters in figure above also needs to modify, but it may not leads to booting error in motion.

 

mirazchiew
Established Member

Hello,

I tried the step by step instruction you suggested but without any result.

The situation is the same.

2.jpg

Ethercat is working as I check it.

I did an experiment and got another servo controller from a colleague that I'm sure works with CtrlX Core and wired it to my system. It turned out that the result is the same, which makes me think that the problem is with the Motion app, and not with the servo driver I'm using. I HAVE A QUESTION. Will resetting my CtrlX Core to factory settings fix it? The other option is to upgrade to a higher version.

Thanks to Michael_A Problem solved.

It turned out to be a bad installation of the Motion app - for some reason all the tools didn't load, which is why the Motion app didn't start at all.

We uninstalled the app and reinstalled it until the installation was done correctly and all the tools were loaded.

Thanks again to Michael_A for his assistance.

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