This started when I attempted to use a "Center Spot" to spot a bunch of holes on a piece. What I found is that it would spot all the holes and then fail everytime at a certain gcode line. As you can see, spotting op #29 is fine M3 $2 S1 to turn on the torch and then a M5 $2 to turn if off. In Spotting op #30 though, things go awry. The M3 $2 spots the hole, and then since this is the last spotting op, it changes Material which resets the type of op, and then we have the M5 $0. This causes the G0 line to fail. Actually my torch goes up and down like a yo-yo spotting that one location over and over until I Cycle stop. Basically that Material Setup is in the wrong location and should be AFTER the M5 which would then have the correct M5 $2.
Code: Select all
N03520 ;begin operation #29, spotting
N03530 G0 X4.53877 Y1.83810
N03540 M65P2 (THC On)
N03550 M3 $2 S1 (spot start)
N03560 G91 (relative distance mode)
N03570 G1 X0.00000004 (tiny move)
N03580 G90 (absolute distance mode)
N03590 M64P2 (THC Off)
N03600 M65P2 (THC On)
N03610 M5 $2(spot stop)
N03620 ;end operation #29, spotting
N03630 ;
N03640 ;begin operation #30, spotting
N03650 G0 X5.77571 Y0.33994
N03660 M65P2 (THC On)
N03670 M3 $2 S1 (spot start)
N03680 G91 (relative distance mode)
N03690 G1 X0.00000004 (tiny move)
N03700 G90 (absolute distance mode)
N03710 M64P2 (THC Off)
N03720 M65P2 (THC On)
N03730 ;
N03740 ;begin material setup
N03750 M190 P23 (45 amp 14ga mild steel material)
N03760 M66 P3 L3 Q2 (wait for valid change)
N03770 F#<_hal[plasmac.cut-feed-rate]>
N03780 ;end material setup
N03790 M5 $0(cut stop)
N03800 ;end operation #30, cutting
N03810 M65P2 (THC On)
N03820 ;
N03830 ;begin operation #31, cutting, 1.34"
N03840 G0 X2.76051 Y3.80271
N03850 M65P2 (THC On)
N03860 M3 $0 S1 (cut start)
I've edited this post to remove the second part involving a drilling op. Phil pointed out where I was wrong on the setup of the drilling op. I've left the first part as I believe this is an error to setup a material before finishing the last op has finished (#30)
Any update on the linux sheetcam version?