CNC/MACH3 | Automated Tool Setting | Edge/Center Finding (X/Y) | Includes INCH/MM Scripts

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hello there everybody in this video my version of XY edge and center finding 3 and setting it up and mock 3 to 0 complete if you have yet to do so watch my previous z-axis video for setup in settings up to this point also I use mach3 version are three zero four three zero six six some burdens below this may not run the included scripts correctly I recommend watching this video all the way through before committing to the setup alright XY probing I have it set up on the offsets screen any edge finder and gauge block sections besides changing the vegetables a bit we're going to give it for individual edge finding scripts an external Center finding script and an internal Center finding script okay to set it up close Mach 3 in the video description you'll find a link to download my XY touch scripts zip file once opened place the jpg image files in mock threes bitmaps mill bitmaps folder if you want to keep Mach threes original files of the same name you're gonna have to rename them otherwise just overwrite okay open Mach 3 and let's code the buttons [Music] we'll look through the scripts shortly for now just load them and save them and use the same cut paste process for loading the other scripts [Music] individual edge finding for this example I'm using aluminum tape as my conductor gauge and we're gonna locate corner zero starting with Hawaii double check that the system is ready [Music] and go once contact is made the tool will back off and set the DI Rove accordingly to zero complete reposition the tool 4x and go to zero complete and with that xy0 is located these four individual edge scripts are identical each other when it comes to the user variables and as a novel my scripts millimeter or inch mode is automatically detected and for safety millimeter inch values need to be equivalent if you want to delay between button click and machine movement it goes here and if you do use a delay then at 5 seconds and below it will speak the countdown of course change it to your preferences I note about the speech if you notice it lag compared to the visual countdown shown on the status line then you'll have to either increase your computer's voice speed or switch to the beat if you want to WAV audio file to play when a script is finished include his full path here and don't forget the quotation marks this particular are defiled by the way is from the previous z-axis video ok probe diameter or tool diameter in my case if you have a certain size that you use all over the time or most of the time enter it here to use that default make sure the edge finder digital readout is set to zero before clicking any of the auto buttons to temporarily override your default setting say for a different size n mil for example just type it in the Dro and go if you often use various sizes for tool setting you can set the default to zero then always provide the diameter gauge thickness chops for aluminum tape sometimes however I use the conductive shell sometimes no gauge at all if the part is conducted the probe diameter to use your default make sure the Dro is set to zero before clicking Auto to override supply the new value and go in the case of not needing a gauge entering any negative number will signal a no gauge condition the negative sign itself is the no gauge trigger for the script the number is ignored as with the probe setting a default of zero will require you to always provide two gauge thickness in this case just leave the Dro set to zero for the no gauge condition okay nothing below this user variable area need be edited nonetheless I did include code comments to make it easier to find a given area if you do need to edit and forget not to edit the user variables in the other three Auto scripts some notes here be very aware of the current unit mode when entering values switching between millimeter and inch modes will not automatically convert them also upon initializing these Auto scripts the status line will show the probe and gauge values entered that are to be used for calculations and the units detected the original functions of these 2d arrows are still intact you can still use manual edge finding and Manuel Z setting click Center if if indicating a circle ignore that whole thing internal center finding choose an axis set a delay if desired rapid positioning unchecking this will slow all retraction moves to twice the approach feed rate sometimes do this for short distances and or if I need to use my conduct of gauging alright to zero complete okay departs X Center is located and XDR o zeroed extra info in the status line the span length another example finding center of a milled slot with this slots orientation I recommend first centering X then Y you can do this individually or in one fell swoop to zero complete in the event that a slot is oriented along the x-axis I would first run Y then X again you can do this individually take this box to reverse the order of the combo alright locating circle Center for this it doesn't matter what order you use but taking is circle will run two cycles the first cycle for centering the second cycle we're fine tuning and measuring okay x and y are zeroed at center extra information in the status line includes the calculated average diameter along with an idea of how out of round the circle is that is the difference between the x and y spans if the difference value is crazy high whatever that might be to you run a circle again just to be sure the tool is centered the variables maximum travel for both X&Y I have these set to 75 percent of my CNCs full travel default probe engaged all rules previously explained about these Dro overrides also apply here and two external center finding which we'll get to shortly all options in the options dialog can be set to a default position this just means one or a few less button clicks before hitting okay again coke comments are plenty if you need them alright let's hit some external center finding [Music] external center finding some preparations are required for a crash free experience I'm only laughing because I've crashed okay alright z0 must be set at top of part or above whichever has a clear path across the part in this case with a zero set at top surface I'm cleared in this area for X and these areas for y another way is to move the tool somewhere over the part above all obstacles such as this clamp then 0z this location plus your default standoff distance is the height at which the tool will travel across the park at this height I'm free to check for X Center anywhere along the part all right with that set move to the negative side of the park X negative in this case and drop Z to your preferred touch height whatever you do do not reset Z zero here this location will be captured by the script and used on the other side of the park all right the machine itself is ready okay here the status line says gage zero that is the default setting and a half set in the script but I'm using aluminum tape so I need to enter the override the options dialog approximate is fan this is the approximate length or width of the part or section of the part that you want to find the center of in this case is just under three inches so we'll say three it's okay to overstate the measurement a bit but never understate all right let's run this part three two one two zero complete ex center located Dro zeroed let's set up to find y center [Music] z0 is still set so we just need to reposition the tool to the y- side of the part okay we're at 2 and 3/4 inches this time and locating why three two one to zero complete and with that part Center x and y are located and if you need to reset z0 for the job at hand to zero complete for the rotary access users this script is also handy for locating rotary access center ok the variables in addition to the usuals span hold this serves two safety purposes first it buys you time to prepare gauging 3-second if you plug in the wrong values in your span falls short three you have time to terminate the script via the escape key before the tool plunge ruins your day safety gap when the probe reaches the side opposite the safety gap is the distance between the inward side of the probe and the gauge or the part if you're not using a gauge again all dialogue options can be set to a default and that just about covers it note here that all of these scripts capture certain modes and values when they are launched some or all of these will be changed or canceled during script run but will be restored when probing is complete unless script run is interrupted via the Escape key II stopped power outage or X of nature make sure to drive run all scripts to verify that they will work as you expect and always test gauge or park conductivity so you know Mach 3 can see it and one last thing I use parallel port setup so I'm not sure how these scripts will work for USB connected machines so I would appreciate feedback on that have a good day [Music]
Info
Channel: Charlie Sarsfield
Views: 117,836
Rating: undefined out of 5
Keywords: cnc, machine, gcode, vb, script, edge, center, finding, charlie, sarsfield, sunny5rising, mach3, auto tool zero
Id: MQ9XT30s-PU
Channel Id: undefined
Length: 16min 29sec (989 seconds)
Published: Mon Jul 30 2018
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.