forked from LinuxCNC/linuxcnc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qtplasmac: improve powermax comms error checking
g-code filter fix cut recovery bug g-code filter add more illegal character checks update example wrenches
- Loading branch information
Showing
5 changed files
with
297 additions
and
303 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
;wrench with offsets | ||
;wrench | ||
|
||
#<x_offset> = 0 | ||
#<y_offset> = 0 | ||
#<holes> = 4 | ||
|
||
G20 | ||
G64 P0.004 | ||
G64 P0.002 | ||
M52 P1 | ||
F#<_hal[plasmac.cut-feed-rate]> ; feed rate from cut parameters | ||
|
||
g0 x[0.1543+#<x_offset>]y[0.2436+#<y_offset>] | ||
m3$0s1 (select plasma torch) | ||
g1 y[0.5393+#<y_offset>] | ||
g1 x[0.8236+#<x_offset>] | ||
g3 y[1.6220+#<y_offset>] i-0.3221 j0.5413 | ||
g1 x[0.1543+#<x_offset>] | ||
g1 y[1.7208+#<y_offset>] | ||
g2 x[0.1929+#<x_offset>] y[1.8081+#<y_offset>] i0.1181 j-0.0000 | ||
g2 x[1.6562+#<x_offset>] y[1.6535+#<y_offset>] i0.6627 j-0.7298 | ||
g3 x[2.2390+#<x_offset>] y[1.3956+#<y_offset>] i0.5795 j0.5223 | ||
g1 x[5.7629+#<x_offset>] y[1.3169+#<y_offset>] | ||
g2 y[0.8444+#<y_offset>] i0.0000 j-0.2362 | ||
g1 x[2.2390+#<x_offset>] y[0.7657+#<y_offset>] | ||
g3 x[1.6562+#<x_offset>] y[0.5078+#<y_offset>] i0.0000 j-0.7874 | ||
g2 x[0.1929+#<x_offset>] y[0.3532+#<y_offset>] i-0.8000 j0.5692 | ||
g2 x[0.1543+#<x_offset>] y[0.4405+#<y_offset>] i0.0650 j0.0809 | ||
m5 | ||
g0 x0.0000 y0.0000 | ||
m2 | ||
F#<_hal[plasmac.cut-feed-rate]> | ||
|
||
; THE HOLE | ||
G0 X5.8952 Y1.0807 | ||
M3 $0 S1 (PLASMA TORCH ON) | ||
G3 X5.8952 Y1.0807 I-0.0787 J0 | ||
M5 $0 (TORCH OFF) | ||
|
||
; THE WRENCH | ||
G0 X0.1937 Y1.5240 | ||
M3$0S1 (PLASMA TORCH ON) | ||
G1 X0.1937 Y1.7208 | ||
G2 X0.2323 Y1.8082 I0.1181 J-0.0000 | ||
G2 X1.6956 Y1.6535 I0.6627 J-0.7298 | ||
G3 X2.2783 Y1.3956 I0.5795 J0.5223 | ||
G1 X5.8165 Y1.3169 | ||
G2 X5.8165 Y0.8444 I0.0000 J-0.2362 | ||
G1 X2.2783 Y0.7657 | ||
G3 X1.6955 Y0.5078 I0.0000 J-0.7874 | ||
G2 X0.2322 Y0.3532 I-0.800 J0.5692 | ||
G2 X0.1937 Y0.4405 I0.0650 J0.0809 | ||
G1 X0.1937 Y0.5393 | ||
G1 X0.8629 Y0.5393 | ||
G3 X0.8629 Y1.6220 I-0.3221 J0.5413 | ||
G1 X0.1937 Y1.6220 | ||
M5 $0 (TORCH OFF) | ||
|
||
G0 X0 Y0 | ||
M2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,37 @@ | ||
;wrench with offsets | ||
;wrench | ||
|
||
#<x_offset> = 0 | ||
#<y_offset> = 0 | ||
#<holes> = 4 | ||
|
||
G21 | ||
G64 P0.1 | ||
G64 P0.05 | ||
M52 P1 | ||
F#<_hal[plasmac.cut-feed-rate]> ; feed rate from cut parameters | ||
|
||
g0 x[3.920+#<x_offset>]y[6.189+#<y_offset>] | ||
m3$0s1 (select plasma torch) | ||
g1 y[13.700+#<y_offset>] | ||
g1 x[20.920+#<x_offset>] | ||
g3 y[41.200+#<y_offset>] i-8.182 j13.750 | ||
g1 x[3.920+#<x_offset>] | ||
g1 y[43.710+#<y_offset>] | ||
g2 x[4.900+#<x_offset>] y[45.928+#<y_offset>] i3.000 j-0.000 | ||
g2 x[42.068+#<x_offset>] y[42.000+#<y_offset>] i16.833 j-18.538 | ||
g3 x[56.871+#<x_offset>] y[35.450+#<y_offset>] i14.721 j13.267 | ||
g1 x[146.739+#<x_offset>] y[33.450+#<y_offset>] | ||
g2 y[21.450+#<y_offset>] i0.000 j-6.000 | ||
g1 x[56.871+#<x_offset>] y[19.450+#<y_offset>] | ||
g3 x[42.068+#<x_offset>] y[12.900+#<y_offset>] i0.000 j-20.000 | ||
g2 x[4.900+#<x_offset>] y[8.972+#<y_offset>] i-20.320 j14.460 | ||
g2 x[3.920+#<x_offset>] y[11.189+#<y_offset>] i1.653 j2.055 | ||
m5 | ||
g0 x0.000 y0.000 | ||
m2 | ||
F#<_hal[plasmac.cut-feed-rate]> | ||
|
||
; THE HOLE | ||
G0 X149.739 Y27.45 | ||
M3 $0 S1 (PLASMA TORCH ON) | ||
G3 X149.739 Y27.45 I-2 J0 | ||
M5 $0 (TORCH OFF) | ||
|
||
; THE WRENCH | ||
G0 X4.920 Y38.710 | ||
M3$0S1 (PLASMA TORCH ON) | ||
G1 X4.920 Y43.710 | ||
G2 X5.900 Y45.928 I3 J-0 | ||
G2 X43.068 Y42 I16.833 J-18.538 | ||
G3 X57.871 Y35.45 I14.721 J13.267 | ||
G1 X147.739 Y33.45 | ||
G2 X147.739 Y21.45 I0 J-6 | ||
G1 X57.871 Y19.45 | ||
G3 X43.068 Y12.9 I0 J-20 | ||
G2 X5.9 Y8.972 I-20.32 J14.46 | ||
G2 X4.92 Y11.189 I1.653 J2.055 | ||
G1 X4.92 Y13.7 | ||
G1 X21.92 Y13.70 | ||
G3 X21.92 Y41.2 I-8.182 J13.75 | ||
G1 X4.92 Y41.2 | ||
M5 $0 (TORCH OFF) | ||
|
||
G0 X0 Y0 | ||
M2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.