bLouChip wrote: ↑Wed Oct 11, 2023 5:56 pm
Congrats on your build! I conducted a similar build in 2021, you can see it and read about it in my signature link to youtube and related links in the youtube channel description.
I love SheetCAM since adopting it about 15 months ago. Facing a similar functional challenge in finding the right post processor as you stated, I decided to modify the standard grbl scpost to suit my needs. The code is fairly man-readable and well commented, so you can perhaps modify it as well if you desire. I'd be happy to help or advise if needed.
Enjoy.
So when i try your processor it double probes then i get this error:
[20:37:48] [ G00 G17 G40 G54 G90 M5 F0 ] ok
[20:37:48] [ $G ] [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
[20:37:48] [ $G ] ok
[20:37:48] [ G20 ] ok
[20:37:48] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F0 S0]
[20:37:48] [ $G ] ok
[20:37:48] [ G28 G91 Z0 (retract Z for start of job) ] ok
[20:37:48] [ $G ] [GC:G0 G54 G17 G20 G91 G94 M5 M9 T0 F0 S0]
[20:37:48] [ $G ] ok
[20:37:48] [ G90 ] ok
[20:37:48] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F0 S0]
[20:37:48] [ $G ] ok
[20:37:48] [ G0Z1.5000 ] ok
[20:37:48] [ G0X3.0107Y4.8170 ] ok
[20:37:48] [ G0Z0.1900 ] ok
[20:37:48] [ G91 (relative mode) ] ok
[20:37:48] [ $G ] [GC:G0 G54 G17 G20 G91 G94 M5 M9 T0 F0 S0]
[20:37:48] [ $G ] ok
[20:37:52] [ [ PROBE ] ] Probe Completed.
[20:37:52] [ G38.2 Z-0.7215 F39.37 (probe fast to find sw) ] [PRB:-373.469,6.086,-46.035:1]
[20:37:52] [ G38.2 Z-0.7215 F39.37 (probe fast to find sw) ] ok
[20:37:52] [ G0 Z0.1969 (retract off probe switch) ] ok
[20:37:53] [ G04 P0.400 (wait for sw debounce) ] ok
[20:37:58] [ [ PROBE ] ] Probe Completed.
[20:37:58] [ G38.2 Z-0.1969 F1.97 (probe slow) ] [PRB:-373.469,6.086,-45.865:1]
[20:37:58] [ G38.2 Z-0.1969 F1.97 (probe slow) ] ok
[20:37:58] [ G0 Z0.3346 (fast retract to top of material) ] ok
[20:37:58] [ G92 Z0 (set temp Z0) ] ok
[20:37:58] [ G90 (return to absolute mode) ] ok
[20:37:58] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F50 S0]
[20:37:58] [ $G ] ok
[20:37:58] [ G0 X3.0107Y4.8170Z0.1900 ] ok
[20:37:58] [ M4 S1000 (THC effective On condition) (fire the torch...) ] ok
[20:37:58] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M4 M9 T0 F50 S1000]
[20:37:58] [ $G ] ok
[20:37:59] [ G04 P0.15 (PH 2 CH time: 0.15, Total PD:0.3) ] ok
[20:37:59] [ F75 ] ok
[20:37:59] [ G1X3.0107Y4.8170Z0.0600 ] ok
[20:37:59] [ F80 ] ok
[20:37:59] [ ] error: 20 - Unsupported or invalid g-code command found in block. [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ]
[20:37:59] [ ERROR ] error: 20 - Unsupported or invalid g-code command found in block. [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ]
[20:37:59] [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ] error:20
[20:38:15] [ ] Grbl 1.1g ['$' for help]
[20:38:15] [ JOB COMPLETE ] Job completed in 00h00m
[20:38:15] [ ] ok
[20:38:29] [ G10 P0 L20 X0 Y0 Z0 ] ok
[20:38:30] [ GCODE Parser ] GCODE File (from gcode editor) sent to backend
[20:38:30] [ G00 G17 G40 G54 G90 M5 F0 ] ok
[20:38:30] [ $G ] [GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]
[20:38:30] [ $G ] ok
[20:38:30] [ G20 ] ok
[20:38:30] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F0 S0]
[20:38:30] [ $G ] ok
[20:38:31] [ G28 G91 Z0 (retract Z for start of job) ] ok
[20:38:31] [ $G ] [GC:G0 G54 G17 G20 G91 G94 M5 M9 T0 F0 S0]
[20:38:31] [ $G ] ok
[20:38:31] [ G90 ] ok
[20:38:31] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F0 S0]
[20:38:31] [ $G ] ok
[20:38:31] [ G0Z1.5000 ] ok
[20:38:31] [ G0X3.0107Y4.8170 ] ok
[20:38:31] [ G0Z0.1900 ] ok
[20:38:31] [ G91 (relative mode) ] ok
[20:38:31] [ $G ] [GC:G0 G54 G17 G20 G91 G94 M5 M9 T0 F0 S0]
[20:38:31] [ $G ] ok
[20:38:35] [ [ PROBE ] ] Probe Completed.
[20:38:35] [ G38.2 Z-0.7215 F39.37 (probe fast to find sw) ] [PRB:-296.999,128.401,-43.270:1]
[20:38:35] [ G38.2 Z-0.7215 F39.37 (probe fast to find sw) ] ok
[20:38:35] [ G0 Z0.1969 (retract off probe switch) ] ok
[20:38:36] [ G04 P0.400 (wait for sw debounce) ] ok
[20:38:40] [ [ PROBE ] ] Probe Completed.
[20:38:40] [ G38.2 Z-0.1969 F1.97 (probe slow) ] [PRB:-296.999,128.401,-43.195:1]
[20:38:40] [ G38.2 Z-0.1969 F1.97 (probe slow) ] ok
[20:38:40] [ G0 Z0.3346 (fast retract to top of material) ] ok
[20:38:41] [ G92 Z0 (set temp Z0) ] ok
[20:38:41] [ G90 (return to absolute mode) ] ok
[20:38:41] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M5 M9 T0 F50 S0]
[20:38:41] [ $G ] ok
[20:38:41] [ G0 X3.0107Y4.8170Z0.1900 ] ok
[20:38:41] [ M4 S1000 (THC effective On condition) (fire the torch...) ] ok
[20:38:41] [ $G ] [GC:G0 G54 G17 G20 G90 G94 M4 M9 T0 F50 S1000]
[20:38:41] [ $G ] ok
[20:38:41] [ G04 P0.15 (PH 2 CH time: 0.15, Total PD:0.3) ] ok
[20:38:41] [ F75 ] ok
[20:38:41] [ G1X3.0107Y4.8170Z0.0600 ] ok
[20:38:41] [ F80 ] ok
[20:38:41] [ ] error: 20 - Unsupported or invalid g-code command found in block. [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ]
[20:38:41] [ ERROR ] error: 20 - Unsupported or invalid g-code command found in block. [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ]
[20:38:41] [ M7 (enable Z THC anti-dive circuit when SPWM < 86) ] error:20
[20:38:46] [ ] Grbl 1.1g ['$' for help]
[20:38:46] [ JOB COMPLETE ] Job completed in 00h00m
[20:38:46] [ ] ok