Hello Guest it is May 11, 2021, 01:22:32 AM

Show Posts

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.


Messages - Collyble

Pages: 1
1
Thank you both for your kind attention

The request is for the situation where the machine is referenced already. As the origin of the workpiece that I have is nearly always away from the machine origin I frequently require to perform the ref all axis . Many times I do it with the spindle deep in the material as I forget to raise it before performing the ref all axis.
The sequence I follow is to lift the z axis well above the work surface then perform the X and Y ref and finally the Z which is located at the position x=0 and y=0. My z probe is adjustable and I align it with the work surface for each job.
For a tool change i would ref all axis , perform the change and perform the ref all axis function.

2
Dear all
 I would really appreciate anyone who could help me sort out this screen function I am trying to modify.
I would like the machine to perform a G0 Z20 before starting the ref all axis routine.
I tried this but it does not work
It just goes to Z20 and ignores the rest
Any help would be greatly appreciated

 mc.mcCntlGcodeExecute(inst, 'G00 Z20')
    mc.mcAxisDerefAll(inst)  --Just to turn off all ref leds
    mc.mcAxisHomeAll(inst)
    coroutine.yield() --yield coroutine so we can do the following after motion stops
    ----See ref all home button and plc script for coroutine.create and coroutine.resume
    wx.wxMessageBox('Referencing is complete')
end

Pages: 1