OK, here’s the results.
- LR4 Jackpot + 3.9.1 [edit: typod the version #], v3 Web UI.
- I believe @DougJoseph created these original scripts (thanks!) and they worked well for me on my LR3. I think the behavior was the same as reported here.
Repro Issue Test - SCARYProbe.g
- Power up. Home Z, X, not Y because lazy.
- Run script, SCARYProbe.g. Note that 75 mm is too short of a distance for me to reach my spoilboard. For the test, I am purposefully NOT hitting the touch plate.
G21 (MSG G21: Metric mode)
G90 (MSG G90: Switching to absolute positioning)
G94 (MSG G94: Feed = per minute)
$HZ (MSG Home Z)
G38.2 G91 Z-75 F400 P0.50 (MSG G38.2: Fast probing to material)
G1 Z5 F400 (MSG G1 move Z up by 5mm, speed 400)
G38.2 G91 Z-6 F100 P0.50 (MSG G38.2: Slow probing to material. Plate thickness: 0.50)
G1 Z5 F900 (MSG G1: up by 5mm , speed 900)
G90 (MSG G90: Absolute positioning)
- Behavior: Homes Z as per the script, moves down 75 mm and then Alarm kicks in, and the motors disengage/gantry drops. (First time, gantry didn’t seem to drop, but I was holding it up. Verified by running again, power cycling, and indeed it dropped on the first try.)
- Partial log:
<Run|MPos:0.000,0.000,-62.845|FS:400,0|SD:47.46,/sd/macros/SCARYprobe.g>
<Run|MPos:0.000,0.000,-69.600|FS:400,0|SD:47.46,/sd/macros/SCARYprobe.g>
[MSG:INFO: ALARM: Probe Fail Contact]
ALARM:5
# (Motors disengage and gantry drops at this point)
<Idle|MPos:0.000,0.000,-75.000|FS:0,0|WCO:0.000,0.000,-96.000|SD:47.46,/sd/macros/SCARYprobe.g>
[PRB:0.000,0.000,0.000:0]
Second Test - LessSCARYProbe.g
- Same code, but changed to G38.3
G21 (MSG G21: Metric mode)
G90 (MSG G90: Switching to absolute positioning)
G94 (MSG G94: Feed = per minute)
$HZ (MSG Home Z)
G38.3 G91 Z-75 F400 P0.50 (MSG G38.3: Fast probing to material)
G1 Z5 F400 (MSG G1 move Z up by 5mm, speed 400)
G38.3 G91 Z-6 F100 P0.50 (MSG G38.3: Slow probing to material. Plate thickness: 0.50)
G1 Z5 F900 (MSG G1: up by 5mm , speed 900)
G90 (MSG G90: Absolute positioning)
- Behavior - Script runs all the way through. Basically stops at Z-75, raises up 6 mm, re-probes for 5 mm, then raises up 5 mm to “finish.” Upside: no crashing, but downside is that no touchplate was detected without any “warnings.”
- Partial log:
000,0.000,-42.930|FS:400,0|SD:47.46,/sd/macros/LessSCARYprobe.g>
<Run|MPos:0.000,0.000,-49.040|FS:400,0|WCO:0.000,0.000,-96.000|SD:47.46,/sd/macros/LessSCARYprobe.g>
<Run|MPos:0.000,0.000,-55.780|FS:400,0|SD:47.46,/sd/macros/LessSCARYprobe.g>
[PRB:0.000,0.000,-75.000:0]
[MSG:INFO: MSG,G1 move Z up by 5mm, speed 400]
[MSG:INFO: MSG,G38.3: Slow probing to material. Plate thickness: 0.50]
[PRB:0.000,0.000,-76.000:0]
[MSG:INFO: MSG,G1: up by 5mm , speed 900]
[MSG:INFO: MSG,G90: Absolute positioning]
<Idle|MPos:0.000,0.000,-71.000|FS:0,0>
<Idle|MPos:0.000,0.000,-71.000|FS:0,0>