Usage now:
- create g-code to mill a PCB (or engrave anything else) using pcb2gcode or any other program
- Mount the blank PCB and mount the electrical probe onto your CNC machine
- optional: modify the sources to use EMC2 or another grid then 5x5
- run the jar file, select the g-code file
- run the created *_zprobed.ngc g-code in MACH3.
- it will probe the actual z height in a 5x5 grid and store these values in variables #100 to #124.
- it will then stop
- disconnect your Z-probe and get ready to mill.
- press "Cycle start" to continue the program flow
- it will mill the PCB using a bilinear interpolation to follow the actual, meassured surface height of the PCB to ensure a consistent cutting depth in the micrometer range
- it will also have broken up all long movements at z<=0 to follow the surface at the right height
- Original blog posting
- Sourcecode on GitHub (intended for MACH3 and EMC2) only tested on MACH3
- Executable Jar file (just double click)
Proto:
left = before (45° engraving tip)
right = corrected (10° 0.1mm engraving tip)
(Yes, I was too deep on the right side. Z-0.0008" was hovering above the copper, Z-0.0016" was cutting too deep into the glass fiber. )
Keine Kommentare:
Kommentar veröffentlichen