Hello Guest it is May 16, 2021, 11:16:27 PM

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.


Topics - Collyble

Pages: 1
1
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