go to pin2 location, see that it isn't right, tap the jig to move itĬ. go to pin1 location, set zero x and y in Mach3ī. The reason that I want to programatically control the CNC machine is for zeroing my stock - I have a webcam mounted in my spindle, and use it to adjust the location of my jig by looking at the location of two pins - so the sequence is:Ī. Is it possible to use this on LinuxCNC? Googling has been inconclusive.Ģ. This does *not* talk standard Modbus but Huanyang's version. I'm controlling my VFD via a USB to RS485 adapter.
What I'd like to understand before I attempt this is related to the last two points above:ġ. I want to start programatically controlling my CNC machine in real time (soft real time - just positioning, not cutting) The plugin I use to control my VFD is closed source and while it is OK there are some improvements I would like to make.
#Gecko g540 mach3 setup windows
I'm more comfortable with Linux than Windows The setup is pretty solid (although the other day Mach3 failed to start my spindle, didn't wait for it to start, and plunged the unrotated tool into the stock - that's a one off so far) but I'm considering trying LinuxCNC because: (I realise that I can't use the ESS with LinuxCNC, but my setup makes it trivial to bypass)
#Gecko g540 mach3 setup free
Thank you for watching and I hope you find this useful.įeel free to leave a comment or any suggestions you may have.I have a Chinese 6040 CNC router with a Huanyang VFD, being driven by a Gecko G540 via an ethernet smoothstepper using Mach3. Updatesd 26/08/18 to add Pretouch test and Beep. Have the tool setter on top of the material. Now just press the enter button if you are not using an offset. Updated 09/02/18 to remove the need to enter 0 in question box. Replace the M31.txt in your UCCNC profile with the new one. Replace the Aluminium touch off plate thickness value to match your own plate. Select either metric or Imperial and rename to M31.txt Updated Error found in Imperial script has now been fixed and should prevent Z-plate not found error. This is to ensure the feedrate is correct during probing. Updated to add a Feedrate override resest function for safety and restore to previous setting after probe complete. U pdated Minor changes To Error Handling and some Grammer correctionĪ readme file added to give additional setup information. Value to match your tool setter plate but other than the remaining Script you want to use and you will need to change the Plate Thickness The touch test makes sure the circuit is working correctly before probing begins to eliminate the risk of craching the cutter into the plate due to a fault or if you forget to put the ground clip on the cutter if you use one.įiles are based on Big Tex's Auto zero setting script Select the There is a 2 second delay to replace the touch plate ontothe table top. The latest version is in the 2 pass with Touch test directory and is the recomended version.Īfter entering the material offset value the plate needs to be touched to the cutter to begin the probing routine.
#Gecko g540 mach3 setup archive
There are 4 scripts available in the Archive section under single and 2 pass scripts You find an issue with a script or Macro please advise me ASAP so that aįix can be found and implemented. There may have been changes to the script forīug fixes or feature improvement so please check. If might be off.ĭate included in the script will allow you to check if you have the
If you find that you have a problem with both setting the touch off plate thickness and the offset value test seems to be way off then take a look at the Z axis calibration. A simple check of the materials actual thickness will probably answer the question as it might be far thicker or thinner than you thought. If the discrepancy is larger than you expect then you will need to investigate further what the cause is. The cutter is set to be the value you entered above the spoilboard when you tell the Z axis to go to 0 and your material is probably under or oversized. When you test the script / Macro by entering an offset value of your material thickness no not be alarned or surprised if the cutter sits above or buries itself in the material. If the cutter buries itself in the material then the value is too large and needs to be reduced. If there is a gap between the cutter and the material surface then the value you entered into the Script / Macro is too small. If you are sure it is the callipers that are at fault here is a simple way of finding the correct value. Your Z axis might not be properly calibrated or the digital callipers might be slightly off. If you find the cutter is sitting above or digging into the material in the thickness test then there are a couple of possibilities. I started by measuring mine with digital callipers and entering this figure into the script / macro. The most critical part of using these scripts and macros is entering the correct plate thickness.