XCS2 drive stuck on bb, "waiting for power on"

Hi,

I'm trying to comission my XCS2 drive and can't manage to get past the bb mode.

The power supply is controlled with field bus using etherCAT.

I followed the steps in the tutorial linked here : Suitably-Power-ON-OFF-ctrlX-DRIVE under 3. Power ON/OFF with fieldbus, using the function block MB_PowerSupplyDriveIntegrated provided in the library CXA_DriveUtil. The function block just stays on without error like in the screenshot and nothing else happens. I tried directly with the exemple given in the library first (deleting the 2 XMS reference first) and it didn't work either... I'm sure the power_supply status and control words are linked because the bit 5 (bb mode) of the status word is on. 

I managed to get the motor to turn when controlling the power supply with ctrlx drive Engineering, but not with the field bus.

I'm a bit at a loss as to what to do next.

Thanks for your help!

 

 

Best reply by CodeShepherd

In your screenshot your power supply status word is 0. So it seems the words are not mapped correctly. Please beware that drive status word and power supply status word both are needed and have to be mapped correctly.

View original
Screenshot 2022-10-27 175002.png
61.47KB
2 replies