1
Mach4 General Discussion / Re: M6 Lua script help!
« on: May 13, 2023, 02:19:16 AM »
I have been using Mach 3 on a lathe for years using a stepper motor to index the 8 station turret. I have wanted to move to Mach 4, but have not been able to convert my VBScript to Lua. Please post your results as it may be helpful to others when you get your Hardinge turret working! Most code examples I have seen are for lathe turrets that are operated with the forward-to-turn and reverse-to-lock method. The stepper setup works great, but the code is different as far as I can tell. Any help most welcome.