Avid CNC Touch Plate - Mach4 Module Update version 2.0.0

Поділитися
Вставка
  • Опубліковано 14 кві 2020
  • Describes updates made to the Mach4 module (z-touchplate-v2.0.0.zip) I've released to support Avid CNC's "Auto Z & Corner Finding Touch Plate" in Mach4.
    -github.com/thebuildbug/Mach4H...
    -www.cncrouterparts.com/auto-z-...
    zTouchPlate Module v2.0.0 - New Features
    • Added status bar to report success/failure of gcode commands.
    • Refactored to use coroutine when submitting gcode.
    • Verify probe strike and throw error if absent.
    • Added cancel button.
    • Automatically select unit of measure based on current Mach4 config.
    • Disabled 'Run' button once probing procedure has begun.
  • Наука та технологія

КОМЕНТАРІ • 9

  • @donaldsmith727
    @donaldsmith727 2 роки тому

    great solution. thanks so much.

  • @strikermed
    @strikermed 3 роки тому

    Super helpful videos! Love that you ported this and made it really easy to get it up and running. Keep up the good work!

  • @cryptojunkie5875
    @cryptojunkie5875 4 роки тому

    Well done and thoroughly explained as usual. Keep it coming

  • @Allsource-inc
    @Allsource-inc 3 роки тому

    Thanks for sharing this. I'm attempting to use your code to set Z height from a fixed touch plate that is below the top of the spoilboard. Thanks!

  • @woodflower5398
    @woodflower5398 3 роки тому

    I loaded the 2.0 script and all 3 axis work if I don't select pause between axis. If I have the checkbox selected, the Z axis works as expected. Once it touches the top of the touch plate, I get a popup window allowing me to continue. When I continue, it moves on to the X and Y axis, sometimes it will just stop the moment it touches the X side; sometimes the X axis works and it will stop the moment it touches the Y side. In either case, when it stops, the bit does not return to center and I don't get a window to continue. I went through the script but don't see anything that would cause this issue.

  • @bcoopx
    @bcoopx 3 роки тому

    Very nice work, and installation instructions thank you for sharing your work! its working very well for me with the exception of one issue, the cancel button,
    I am running ESS Smoothstepper, not sure if that makes a difference.
    here are the errors I am getting,
    --
    Lua: Error while running chunk
    C:\Mach4Hobby\Modules\zTouchPlate\zTouchPlate.lua:251: attempt to call a nil value (field 'mcMotionSetProbeComplete')
    stack traceback:
    C:\Mach4Hobby\Modules\zTouchPlate\zTouchPlate.lua:251: in function 'cancelProbingProcedure'
    C:\Mach4Hobby\Modules\zTouchPlate\zTouchPlate.lua:223: in function 'handleButtonClicked'
    C:\Mach4Hobby\Modules\zTouchPlate\zTouchPlate.lua:187: in function
    --
    Looks to be like its crashing on the button click Code,
    any thoughts ?
    -- Button Click
    UI.m_MainPanel:Connect(wx.wxID_ANY,
    wx.wxID_ANY,
    wx.wxEVT_COMMAND_BUTTON_CLICKED,
    function(event)
    handleButtonClicked(event)
    end)

    • @bcoopx
      @bcoopx 3 роки тому

      Found the issue, i did not create the lua panel, but rather tied the script to the Group Container, all is working now including the cancel.
      would it be possible to get your wxFormBuilder Project file, I have tried to understand wxFormBuilder without a lot of success., perhaps having your project as an example would help understand it better,
      Best Regards
      Bob

  • @OldePhart
    @OldePhart 4 роки тому +1

    word will get out. have you posted theses vids in the mach 4 and other cnc related forums like dasthegas has done? You have well rounded dev experience that the hobbyist mach4 users will enjoy. exploiting. Some have even sold customized screensets if that's something you want to pursue.