461
General Mach Discussion / Re: Z axis is lifting higher and higher after each cut
« on: March 19, 2021, 08:38:47 AM »Code: [Select]
Sub Main()
Code "G31 Z-150 F300.0"
While IsMoving()
WEnd
Sleep(200)
SetOEMDro(802, -3.4)
Sleep(200)
Code "G00 Z3.0000"
While IsMoving()
Wend
End Sub
--open Operator -> VB Script Editor--copy and paste the code into Editor window
--with the >|| button you can run the script line by line (single step) and see what is happening