FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We are updating our platform to a new
system.
Read more: Important
information on the platform change.
10-27-2022 11:57 PM
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!
Solved! Go to Solution.
10-28-2022 02:13 PM
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.
10-28-2022 02:28 PM - edited 10-28-2022 02:29 PM
You are right.. I got confused because the exemple code declares the variable for the 2 words and I used the same variable names so the status and control words were just overwritten by the declaration in the program.
Thanks for pointing out my mistake!