I am writing a M code for a new algorithm to reduce vibrations during printing. After a bit of preprocessing, my algorithm spits out the number of steps for each drive. Is there any way I can provide these steps directly to the drives to be executed?
Eg instead of providing
G0 X5
I would like to send
Some_G_code X400
which basically says the x drive should move 400 steps which would result in the same move as G0 X5, assuming 80 steps/mm