Avid CNC Touch Plate - Mach4 Module v2.0.0 Installation
Вставка
- Опубліковано 27 сер 2024
- Describes how to download and install the z-touchplate-v2.0.0.zip module into Mach4 for users that have already installed v1.0.0. If you have NOT installed v1.0.0 please refer to the instructions in the following video.
- • CNC Router Parts - Z T...
GitHub Release Page
- github.com/the...
Thank you very much for your work. I used your code to drive a touch plate similar to the AVID CNC.
It's great. I've used it. Thanks for sharing
Have been struggling with probing in Mach 4 and came across your videos. I built a touch plate that is very similar to the AVID CNC.
I am using a PMDX 416 with Mach4.
It works most of the time but I do get the 'did not touch probe' error. This was my main issue with the Mach4 software and their routines.
Not sure why this is happening. My probe is connected to an optically isolated connection and my wiring is not running in a bundle of wires. So not sure what is going on. I think I might run a twisted/shielded wire for the probe and see what happens.
One question I have on the setup parameters is what is the difference between Touch Plate Width and Touch Plate Probe Width?
Great work and thanks for taking the time to share. Really impressed with you CNC machine but I don't see any dust!
Thanks
Chuck
I think I figured out the Plate Width question when I looked through the code. It seems to prevent entering a diameter value that the plate area can support. Should have looked before asking. Thanks
I also have a PMDX-424 controller for my CNC. I installed your 2.0 module 2 days ago and mapped an open input to the "Probe" line. I don't have my Avid Z-touch plate yet; it's on order. But I did a quick check of the module to test the buttons (Z-axis travel only). I raised my Z-axis up sufficiently to allow the 2" maximum travel and hit "Run" in your module. It proceeded down, then stopped after 2" as it should, and I got a status message stating no contact was made. Good. Next I cleared the message and repeated the process, but I hit "Cancel" after hitting "Run". The machine did not stop. It travelled the full 2" and I got the same message as before. Any suggestions? Also, how may I contact you if I have other questions? By the way, great job on your videos.
I am using your script for my AVID CNC touchplate. Like you, I built my own from AVID parts. I am having issues with the script. It will touch Z and then start to X. When it gets to X, it will touch and stop as it should but then will post in the comments box it did not touch and will stop the sequence. Sometimes it does the same on Z and wont even make it to X. I was able to get it to complete the entire sequence only once. I am using the Pokeys57CNC controller. Any help would be greatly appreciated. Oh, and keep the videos coming. One of my favorite youtube channels
Hmm ... you might try commenting out the calls to 'verifytouchplatestrike()' (on lines #322, #339, #357 github.com/thebuildbug/Mach4Hobby/blob/z-touchplate/Modules/zTouchPlate/zTouchPlate.lua#L322) and then see how the module behaves (obviously this would turn off the strike verification steps). The optimistic theory is that the Mach4 plugin provided by PoLabs for the Pokeys57CNC handles calls to mc.mcCntlProbeGetStrikeStatus(INST) in some way that is causing this issue. If you do comment out these calls and still encounter problems (perhaps slightly different ones) you might try switching to v1.0.0 of the module which does NOT use coroutines. If v1.0.0 works for you, this may point to a timing issue related to the use of the coroutine in v2.0.0. What one could do to resolve this is not clear to me :(
Great videos, I’m new to the CNC community and I’m learning so much from your videos, I recently got an avid CNC table,I’m done with the spoil board but I’m stuck with Mach 4 and my z touch plate... the module I have it looks similar to yours but it doesn’t have the z auto touch tab next to jogging... if I download the zip file you explained in the video, is that what I’ll be getting the z auto touch tab? Thank you and sorry to bug you🤦🏾♂️
If you are using AVID CNC controller electronics you should stick with AVID CNC's software. My module is intended to be used by people who want to use AVID CNC's Z Touch Plate but DO NOT use AVID CNC's electronics (my machine looks a lot like one from AVID but its really a home built copy). I probably need to make this more clear in my videos. AVID CNC has really good support you should contact them to resolve your issue.
Build Bug got it, thanks for the reply, I appreciate it!
hi my z-touchplate has a different height of 40,450 mm
where do I have to enter that and what does it have to look like
local IMPERIAL_CONSTANTS = {
TOUCH_PLATE_HEIGHT = 1, -- Z Touchplate is 1" (25.4mm) tall
TOUCH_PLATE_WIDTH = 2.205, -- Z Touchplate is 2.205" (56mm) wide
TOUCH_PLATE_PROBE_WIDTH = 2, -- Z Touchplate has 2" (50.8mm) square probing area
Z_TRAVEL_HEIGHT = 1 + .125, -- How high to lift tool while probing X and Y (inches)
Z_LIFT_HEIGHT = 1 + .5, -- How high to lift tool after script is complete (inches)
PROBE_FEED_RATE = 10, -- Inches Per Minute (anything from 5-12 will likely work well)
X_PROBE_DISTANCE = 2, -- How long to probe the X-Axis (inches)
Y_PROBE_DISTANCE = 2 , -- How long to probe the Y-Axis (inches)
Z_PROBE_DISTANCE = 2 -- How long to probe the Z-Axis (inches)
}
local METRIC_CONSTANTS = {
TOUCH_PLATE_HEIGHT = 25.4, -- Z Touchplate is 25.4mm (1") tall
TOUCH_PLATE_WIDTH = 56, -- Z Touchplate is 56mm (2.205") wide
TOUCH_PLATE_PROBE_WIDTH = 50.8, -- Z Touchplate has 50.8mm (2") square probing area
Z_TRAVEL_HEIGHT = 25.4 + 3.175 ,-- How high to lift tool while probing X and Y (mm)
Z_LIFT_HEIGHT = 25.4 + 12.7, -- How high to lift tool after script is complete (mm)
PROBE_FEED_RATE = 254, -- Inches Per Minute (anything from 254-305 will likely work well)
X_PROBE_DISTANCE = 50.8, -- Distance to probe the X-Axis (mm)
Y_PROBE_DISTANCE = 50.8, -- Distance to probe the Y-Axis (mm)
Z_PROBE_DISTANCE = 50.8 -- Distance to probe the Z-Axis (mm)
}
My English is not that good
Apologies for the slow reply. I hope you were able to work it out.
The TOUCH_PLATE_HEIGHT constant is the one you want to edit. Remember to change the TOUCH_PLATE_HEIGHT under both imperial and metric so they match
e.g IMPERIAL_CONSTANTS => TOUCH_PLATE_HEIGHT = 1.75,
METRIC CONTANTS => TOUCH_PLATE_HEIGHT = 40.45,