121
Mach4 General Discussion / Re: Screwie Louie mcLua scripting for screwie lua learning
« on: June 02, 2015, 12:53:06 AM »
Heck yah! Thanx Daniel.
--josh
--josh
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
gCode = "G0 G90 G54 G17 G40 G49 G80\n"
gCode = gCode .."G53 Z0.0\n"
gCode = gCode .."G53 X14.0 Y0.0\n"
gCode = gCode .."G53 X12.0 Y1.0\n"
mc.mcCntlMdiExecute(inst, gCode)
mc.mcSignalSetState (hSigOZero, 1)
wx.wxMessageBox ("Next: Probe table.")
mc.mcJogSetRate (inst, 2, 40)
mc.mcJogVelocityStart (inst, 2, -1)
mc.mcSignalSetState (hSigOZero, 1)
if inputZero ==1 then mc.mcJogVelocityStop (inst, 2)end
wx.wxMessageBox ("Next: Goto Tool Setter Position.")