you need to make sure that MC_Power.Status is TRUE before you give a rising edge to MC_MoveRelative.Execute. (This is the same for virtual and real axes).
Best regards,
Georg
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
@ducng, Another possible situation could be that normally there are 3 inputs for MC_Power.
In your above images, I can't see the "bDriveStart" input activated.
As Mr. @gseidel mentioned, you need to make sure MC_Power.Status output should be TRUE.
Issuing any movement command without activating the axis would naturally result in an error.
For MC_Power;
You can set the Enable and bDriveStart inputs to TRUE and try turning the axis activation on and off using only the bRegulatorOn input.
Regards,
Imdat
π
1
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm using drive virtual and cannot run the motion command. Please help.
Hi ducng,
you need to make sure that MC_Power.Status is TRUE before you give a rising edge to MC_MoveRelative.Execute. (This is the same for virtual and real axes).
Best regards,
Georg
@ducng, Another possible situation could be that normally there are 3 inputs for MC_Power.
In your above images, I can't see the "bDriveStart" input activated.
As Mr. @gseidel mentioned, you need to make sure MC_Power.Status output should be TRUE.
Issuing any movement command without activating the axis would naturally result in an error.
For MC_Power;
You can set the Enable and bDriveStart inputs to TRUE and try turning the axis activation on and off using only the bRegulatorOn input.
Regards,
Imdat
@gseidel @imdatatas
Thank you for your help.
Last edit: ducng 2025-11-29