FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
02-08-2021 03:42 PM
I am in the process of creating a program to control virtual axes. Now I am working on it and I am using the command: arAxisCtrl_gb[vAxis1.AxisNo].PosMode.Position := 69;
To send the axis to position 69.
Now i get a response that the commanded value is set to 69 but the actual value is still at it's posistion it was manually set before. (See picture)
What am I overlooking or doing wrong?
Help is very welcome!
thank you in advance
Solved! Go to Solution.
02-09-2021 07:05 AM - edited 02-09-2021 07:05 AM
Hello,
your axis is in ERRORSTOP, so at least you have to clear error and select ModePosAbs (Button Absolute) to start movement.
To see, why you are in ERRORSTOP, you can look into the diagnosis logbook of the control. Maybe the information in arAxisStatus_gb[1].Diag can give you a hint.
My guess: the velocity of 1100 is above the default value of the limit.
Hth,
Klaus