Component to scan the surface and add compensation to Z axis to eliminate surfase inflattness.
Find details at http://www.cnc-club.ru (http://cnc-club.ru/forum/viewtopic.php?f=15&t=521&start=220&p=19525#p19525)
You might like another method by Hartmut Semken: http://www.hase.net/CNC/CNC/PCB_milling.html
Save files to your ini directory. Change custom_postgui.hal signal names if needed.
Add these lines to ini file:
Into [HAL] section: POSTGUI_HALFILE = custom_postgui.hal
Into [DISPLAY] section: PYVCP = comrensation_pyvcp.xml
- Scan the surface using Gcode like this:
M64 P0 (turn off compensation) T1 M6 (Install probe) #<h> = 90 #<w> = 90 #<x0> = 110 #<y0> = 90 #<step> = 20 #<search_feed> = 100 #<latch_feed> = 1 #<safe_z> = 3 #<search_z> = -3 (PROBEOPEN filename.txt) G0 #<safe_z> #<y> = #<y0> o101 while [#<y> LT #<h>+#<y0>] #<x> = #<x0> o102 while [#<x> LT #<w>+#<x0>] G0 X#<x> Y#<y> F[#<search_feed>] G38.3 [Z#<search_z>] F[#<latch_feed>] G38.5 [Z#<safe_z>] G0 #<safe_z> #<x> = [#<x>+#<step>] o102 endwhile #<y> = [#<y>+#<step>] o101 endwhile (PROBECLOSE)
-
Reset component's height map by pressing Reset button at pyvcp panel or throught Gcode M65 P1 (Reset compenstation) G4 P1 M64 P1 (Reset compenstation) G4 P4 (Wait for 4 seconds, just in case)
-
Turn on the compensation by checking Enable check box and prepare to see the magick :)! Or: M64 P0 (Turn on the compensation)