But I havent added any header operation start operation end etc. But the Gcode comes out with probe, change tool, probe again, start.
there is two sections in the Gcode titled “User start” but only the first one is my start script. The second looks like it “starting” the next tool but it still is just strange!!
;MillMage Pro (Trial) 0.9.00-RC-1 @ e69d8cc Qt6.11.1
;Custom GCode device profile, absolute coords
;Bounds: X0 Y0 to X600 Y900
;Project Units: Metric
;Safe Retract = 3
;Stock Thickness: 20
;Z Zero: Top
;Workpiece origin is at the Bottom Left
G00 G17 G40
G21;Restore metric mode
G54
G90;Restore absolute mode
;USER START SCRIPT
G90
G94
G10 L20 P0 X0 Y0 Z0 (set current location to zero, survives reboot)
G0 X10 Y10 F2000 (move to probing location)
M0 (MSG Attach probe)
G38.2 Z-110 F200 P0.5 (probe down set thickness )
G1 Z10 F900
M0 (MSG Remove probe)
this was the closest I could find to the same issue, but running @P threw alert 17 all over the place.
For the record, I am creating gdode from MM in my office, then saving to an SD card and walking it out to my machine which is running FluidNC 4.0.3 and WebUI 3
Can you share a bundle with your config and an example project?
I think what you are seeing may be a bug (small one, the second “User Start Script” should say “tool change”) but it would be easier to reproduce if I have your setup.
Is this actually an issue or are you just getting hung up on the 2 “User Start Script” entries?
i originally tried those codes way back in rc1, in same boxess, with some weird and wonder full things happening, over time with the development of MM and support help , i now have nothing in user script.
in tool change i have
G0 X50 Y10 F2000 (move to probing location, match first location)
@P (CHANGE TOOL) {tool_name}
and use the MM probe wizard settings for probe and using the z probe only
and have
@P (MSG remove probe) in operation start box, if that isnt incluuded router shoots of without time to remove probe
I think what its doing is probing for the work surface, then asking for the toll to be loaded and probing for the tool’s length.
Thats silly for my machine since I have to have the first tool loaded to probe correctly. But I guess other machines might have a very different use-case with one of those little round ball feeler probes.
I’m assuming its right, but would turn this into less of an issue and more of a feature request with a toggle that is basically a “z probe” or " XYZ probe" because it can eliminate a bunch of extra moves.
for now, I’ll just take the probe sequence out of the user start and see what happens
@P doesnt work for me because I’m not connected to the machine. I just get Gcode errors. I can use that setup and just change it for M0 and see what happens. Thanks for the tip