hello everyone. I'm having a lot of trouble finishing my project. as the title says, I work on Mach4 and ESS Smoothstepper. I managed to connect a servo motor to the spindle and now I have both the spindle and the indexed C axis on one motor. I am able to switch between them using a command
mc.mcAxisMapMotor
and it works perfectly. but the problem is that I need different motor settings (steps per unit, acceleration, etc.) for both. when I set the correct settings for the spindle, the C axis has the incorrect ones. Changing the engine parameters with a code
mc.mcMotorSetCountsPerUnit
would solve the problem after the
mc.mcAxisMapMotor
command but it only works once and you cannot return to the previous settings. I also cannot assign the same pins to 2 motors and assign them to specific axes interchangeably. then everyone would have their own settings and that would solve the problem