Hello Guest it is April 24, 2024, 03:32:28 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
Mach4 General Discussion / live feed
« on: May 24, 2022, 06:54:23 AM »
Dear sirs
I need to use mach 4 to drive motors that respond to sensors in real time.
Kindly let me know if the mach4 API allows for live feed from a gcode script that is generated by other software in real time
regards
Ivan

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