379
« on: December 11, 2017, 12:03:06 PM »
I can think of one scenario where you would want to set the machine pos manually since I am the one trying to do it.
I am using a small lathe. Since some of the time I use the tail stock and some of the time I don't. I don't have any spare inputs to add more separate homing switches at fixed positions so it would be easiest, for me, to use my probe attached to a fixed length rod inserted into the spindle and another rod inserted into the cross slide to home the Z axis. I am using a pmdx 411 and when I home the Z using a signal (ISIG_INPUT10 same as the probe) the overrun pushes the rod back into the spindle, about .040. If instead I use a g31 it stops with acceptable overrun (read, it doesn't affect the probe fixture). At that point I would like to make that machine origin for Z. Then I move the x axis to each side the rod and g31 each X+ and x- so that I can determine where the center line is on the x axis. This negates having the exact rod sizes and can be used with any drill bit or other tool that needs to be on the center line. Making this the x axis machine 0 would allow for easier (in my limited tool setting knowledge) to calibrate all tools to this point using the probe with each tool.
I am trying this morning to use the 'home in position' to do this but am running into the usual problems with mc.mcCntlMdiExecute, mc.mcCntlGcodeExecute, mc.mcCntlGcodeExecuteWait and mc.mcAxisIsStill problems.
Is there a list of other API's that no longer work so I don't waste hours trying things that are known to not work anymore?
TIA
RT