The autoleveller no work in my machine CNC 3040 USB

Help for setting up and using
ThulsaDoom
Posts: 13
Joined: Wed Feb 22, 2017 1:19 pm
Location: Canary Islands (Spain)

Re: The autoleveller no work in my machine CNC 3040 USB

Post by ThulsaDoom »

Hello, I tried the settings and it doesn't work, they follow the same problems
I think that software autoleveller has a bug whit my machine
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: The autoleveller no work in my machine CNC 3040 USB

Post by daedelus »

Remember that AL/AE essentially just outputs standard GCode and the only difference between AL/AE GCode and unmodified GCode is the probing part. Therefore the issues you are experiencing are likely down to your probe setup or a hardware problem with the Z axis and not Autoleveller itself.

I have generated a PFG below based on your original file 'PCB_Pruebas CNC3040.GBL.nc'. Try pasting this into a file and run it on your CNC machine. This is just the probing part and not the job. It should log each probe value to an external text file of your choosing.

If we inspect this text file afterwards, it will hopefully give us more clues as to the problem.

Code: Select all

This GCode script was designed to adjust the Z height of a CNC machine according)
(to the minute variations in the surface height in order to achieve a better result in the milling/etching process)
(This script is the output of AutoLevellerAE, 0.8.0 Changeset: ...ot set @ http://autoleveller.co.uk)
(Author: James Hawthorne PhD. File creation date: 17-03-2017 11:34)
(This program and any of its output is licensed under GPLv2 and as such...)
(AutoLevellerAE comes with ABSOLUTELY NO WARRANTY; for details, see sections 11 and 12 of the GPLv2 @ http://www.gnu.org/licenses/old-licenses/gpl-2.0.html)

(The following is a checklist which can be used before the probe routine starts)
(The checklist may not be entirely correct given your machine, therefore you should make your own adaptations as appropriate)
(1. Make sure wires/clips are attached and the probe is working correctly)
(Test probe connections within control software before starting)
(2. Home all axis)
(3. Load GCode file that contains the probe routine into your software controller)
(4. Jog tool tip close to surface and touch off Z)
(5. Jog Z up a fraction to make sure surface is cleared)
(6. Jog to and touch off X and Y at the desired bottom left corner of the probe area)
(Note: The first probe will touch off Z to 0.0 when it first touches to the surface,)
(all other probe values are relative to this first point)

G90 G21 S20000 G17

M0 (Attach probe wires and clips that need attaching)
(Initialize probe routine)
G0 Z25 (Move clear of the board first)
G1 X0.2285 Y6.1085 F300 (Move to bottom left corner)
G0 Z2 (Quick move to probe clearance height)
G31 Z-1 F100 (Probe to a maximum of the specified probe height at the specified feed rate)
G92 Z0 (Touch off Z to 0 once contact is made)
G0 Z2 (Move Z to above the contact point)
G31 Z-1 F50 (Repeat at a more accurate slower rate)
G92 Z0
G0 Z2

M40 (Begins a probe log file, when the window appears, enter a name for the log file such as "RawProbeLog.txt")
G0 Z2
G1 X0.2285 Y6.1085 F300
G31 Z-1 F100
G0 Z2
G1 X10.7005 Y6.1085 F300
G31 Z-1 F100
G0 Z2
G1 X21.1725 Y6.1085 F300
G31 Z-1 F100
G0 Z2
G1 X31.6445 Y6.1085 F300
G31 Z-1 F100
G0 Z2
G1 X31.6445 Y16.31783 F300
G31 Z-1 F100
G0 Z2
G1 X21.1725 Y16.31783 F300
G31 Z-1 F100
G0 Z2
G1 X10.7005 Y16.31783 F300
G31 Z-1 F100
G0 Z2
G1 X0.2285 Y16.31783 F300
G31 Z-1 F100
G0 Z2
G1 X0.2285 Y26.52716 F300
G31 Z-1 F100
G0 Z2
G1 X10.7005 Y26.52716 F300
G31 Z-1 F100
G0 Z2
G1 X21.1725 Y26.52716 F300
G31 Z-1 F100
G0 Z2
G1 X31.6445 Y26.52716 F300
G31 Z-1 F100
G0 Z2
G1 X31.6445 Y36.73649 F300
G31 Z-1 F100
G0 Z2
G1 X21.1725 Y36.73649 F300
G31 Z-1 F100
G0 Z2
G1 X10.7005 Y36.73649 F300
G31 Z-1 F100
G0 Z2
G1 X0.2285 Y36.73649 F300
G31 Z-1 F100
G0 Z2
M41 (Closes the opened log file)
G0 X0.2285 Y6.1085 Z25
M0 (Detach any clips used for probing)
M30
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
ThulsaDoom
Posts: 13
Joined: Wed Feb 22, 2017 1:19 pm
Location: Canary Islands (Spain)

Re: The autoleveller no work in my machine CNC 3040 USB

Post by ThulsaDoom »

Sory but It does not work that code gives me this error:
Image

The electronic I have I think is a little garbage.
Driver Motor:
YOC-TG5X3-USB
Control:
YOOCNC
M3-USB-JB4
VO4
daedelus
Site Admin
Posts: 387
Joined: Tue Oct 01, 2013 1:41 pm
Location: London, UK
Contact:

Re: The autoleveller no work in my machine CNC 3040 USB

Post by daedelus »

OK, so I am now fairly confident that the problems lay with your USB controller. The reason I say this is that I have had several users who have had trouble with Autoleveller in the past when it comes to probing when using a USB controller. In fact, just a couple of weeks ago, I had an email conversation with a guy (from Spain also funnily enough) who had a similar issue with his USB controller. Eventually, he replaced his USB controller with a parallel port one, and all was fine.

So I think the problem can be summarised as: some USB controllers + Mach 3 + Probing.

I dont know if it is possible or practical to use/try a parallel port controller instead?
http://www.autoleveller.co.uk/. Software to probe and adjust a GCode file for PCB's or any probe-able surface.

http://www.autoleveller.co.uk/cnc-probe-guide/. A short guide to setting up the probe.

-James
ThulsaDoom
Posts: 13
Joined: Wed Feb 22, 2017 1:19 pm
Location: Canary Islands (Spain)

Re: The autoleveller no work in my machine CNC 3040 USB

Post by ThulsaDoom »

Ok, I figured the problem would be for some of that, that's why I specified that my machine is usb, I'm going to ask the vendor if it has parallel port control.
thank you very much for your help
Post Reply