201
Mach4 General Discussion / Re: understanding Jog and signals?
« on: May 28, 2017, 03:45:16 PM »
When using the jog signals as I stated
you also need to tell mach4 what type of jog you are doing, I do this with
and toggle the signals depending whether I need Inc or Cont
DazTheGas
Code: [Select]
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.ISIG_JOGYP), 1) --Turns on Y++
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.ISIG_JOGYP), 0) --Turns off Y++
you also need to tell mach4 what type of jog you are doing, I do this with
Code: [Select]
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.OSIG_JOG_INC),1)
mc.mcSignalSetState (mc.mcSignalGetHandle (inst, mc.OSIG_JOG_CONT),0)
and toggle the signals depending whether I need Inc or Cont
DazTheGas