What would the starting commands be for a zprobe / touchplate using the jackpot / FluidNC?
The equivalent of this block of code from the Marlin days:
G92 X0 Y0 ; Set Current position to 0 on the X and Y axes.
M0 Attach probe ; Pause to connect touchplate
G38.2 Z0 ; Probe down to touchplate
G92 Z0.5 ; Set new Z position to thickness of touchplate
G1 Z2 F900 ; Lift off touchplate
M0 Remove probe ; Pause and wait for touchplate removal
M106 ; This will turn on an IOT relay to start a router or vacuum
EDIT: Here’s what I came up with for the starting text:
G21 G90 G94 $h G10 L2 P0 X0 Y0 ; Set Current position to 0 on the X and Y axes. M0 G38.2 Z-60 F400 ; Probe down to touchplate G92 Z0.5 ; Set new Z position to thickness of touchplate G1 Z2 F900 ; Lift off touchplate M0 ; Pause and wait for touchplate removal M106 ; This will turn on an IOT relay to start a router or vacuum G00 X0.0000 Y0.0000 Z0.0000 G00 Z10.1600
Does this mean I can take this and create a Macro button for the dashboard?
Is there code to reset all coordinates? So I can place the cutter on my zero?
I’m all wired up, stop switches tested and passed. Next things to sort out on the dashboard is the probe and resetting the coordinates to set the start point. Oh, and ensure Estlcam codes for Grbl!
You should be able to place that in a macro, or you can set that as Program Start GCode in your CAM program.
I just imported Ryan’s settings file as a starting point and went from there. It has Program Start and end, as well as Tool change GCode already set up.
That snippet will set the current X and Y as your home, Pause and wait for you to attach the probe. you press Resume and the probe will drop. It will then pause for you to remove the probe and start your spindle. Press Resume and it will go.
Tool change also has probe integrated as part of it.
For whatever reason my controller threw an error with the G92 X0 Y0 command. I’ll play around with it again tonight if I can find the time as I can’t remember the exact error it gave me off the top of my head. For some reason it was ok with G10 L2 P0 X0 Y0 ;
This is what I have been using as a macro:
G0 Z5 F400
$HX
$HY
G92 X0 Y0
G0 X50 Y50 F2100 ( move for room for touchplate)
M0 (MSG change tool, probe)
G38.2 Z-80 F200 P0.95 ( Probe set thickness)
G00 Z10.0000 F500 ( Clearance )
M0 (MSG remove probe)
G0 X0 Y0
I did it as a macro to try out doing a tool change. It worked fine.
The fluid.pp file downloaded from the jackpot page works for me. This is a settings file for EstlCam. It adds the proper Gcode to your estlcam files to do the z-probing at the beginning of a cut.
Is that where you’re stuck?
The reworking was the change from Marlin to GRBL. After getting the jackpot board plugged in and working by the wifi FluidNC controller, I hadn’t yet updated the Estlcam from my Rambo/Marlin settings. So I had to reset them to the GRBL.
The pp I just uploaded and is in the instructions should change all the settings for you and inject my starting and ending stuff. Just unzip and import my config file to estlcam.
After that if there are any issues show us the screenshots.