What's new
What's new

Sodick WireEDM Taper Machining

nlancaster

Aluminum
Joined
Oct 8, 2018
Trying to learn more about taper machining.

I try to run the code that should according to the book work and I get an error that isn't in the book.

"Please cancel offset and/or taper, block 82 : M02;"

Now the block m82/M02 is just the end of program command.

I have G42 and G74 at the top of the program
G42 = Wire Radius Compensation Right
G75 = 4AXIS ON

And at the end of the program I have G40 and G75
G40 = Wire Radius Compensation Cancel
G75 = 4AXIS OFF

I can use the exact same code without any of the above commands, but that depends on mastercam to set the wire offset, not the best.

Any tips would be appreciated.

Here is the code:

Code:
(ALIGNMENT CHECK RING)
( 1 PASS OPEN )
(           ON OFF   IP HRP MAO     SV   V   SF C PIK CTRL  WK  WT  WS  WP   PC SK);
C000   =   008 015 2215 000 270 +050.0 8.0 0031 0 000 0000 025 180 080 040 0000 00;
C001   =   013 015 2215 000 240 +045.0 8.0 0031 0 000 0000 025 180 099 045 0000 00;
H000   = + 00000.00039 (Approch)                                       ;
H001   = + 00000.00638 (  1ST )                                        ;
H999   = + 00000.00200 ( Taper Offset )                                ;
QAIC(2,1,0.00492,000.5,0.00610,0.00079,008.0,0004,0013,15,035);
SFCC00070015;
;
TP0.875
TN0.75


G90 G54
G00 M05 X0. Y0. Z-.125 U0. V0.
T91
G29
T82
T96
T85
G42
G74
C001 H001
G01 X-.00158 Y.01121 V-.0035
X-.00475 Y.03364 V-.0105
X-.02057 Y.14576 V-.04549
X-.0176 Y.15568 V-.0455
X-.01007 Y.16279 V-.0455
X0. Y.16517 V-.04549
X.03006 Y.16242 U-.00828 V-.04474
X.05911 Y.15423 U-.01628 V-.04248
X.0862 Y.1409 U-.02375 V-.03881
X.1104 Y.12286 U-.03041 V-.03384
X.13091 Y.10072 U-.03606 V-.02774
X.14706 Y.07521 U-.04051 V-.02072
X.15829 Y.04719 U-.0436 V-.013
X.16423 Y.0176 U-.04523 V-.00485
X.16469 Y-.01258 U-.04536 V.00346
X.15965 Y-.04234 U-.04397 V.01166
X.14928 Y-.07069 U-.04112 V.01947
X.13392 Y-.09668 U-.03689 V.02663
X.11409 Y-.11944 U-.03142 V.0329
X.09045 Y-.13821 U-.02491 V.03807
X.06379 Y-.15236 U-.01757 V.04197
X.035 Y-.16142 U-.00964 V.04446
X.00504 Y-.1651 U-.00139 V.04548
X-.02509 Y-.16326 U.00691 V.04497
X-.05438 Y-.15596 U.01498 V.04296
X-.08186 Y-.14346 U.02255 V.03951
X-.1066 Y-.12617 U.02936 V.03475
X-.12778 Y-.10466 U.0352 V.02883
X-.14469 Y-.07966 U.03985 V.02194
X-.15677 Y-.052 U.04318 V.01432
X-.16362 Y-.0226 U.04507 V.00623
X-.165 Y.00755 U.04545 V-.00208
X-.16087 Y.03746 U.04431 V-.01032
X-.15137 Y.06611 U.0417 V-.01821
X-.13681 Y.09255 U.03768 V-.02549
X-.11768 Y.1159 U.03241 V-.03192
X-.09462 Y.13538 U.02606 V-.03729
X-.06841 Y.15034 U.01885 V-.04141
X-.0399 Y.16028 U.01099 V-.04415
X-.01007 Y.16487 U.00277 V-.04542
X0. Y.16517 V-.04549
X.01007 Y.16279 V-.0455
X.0176 Y.15568 V-.0455
X.02057 Y.14576 V-.04549
X.00241 Y.00776 V-.00607
X.00101 Y-.00286 V-.00303
X-.00039 Y-.01348
G40
G75
T85
T83
T97
T90
C777
M02
%
 
Trying to learn more about taper machining.

I try to run the code that should according to the book work and I get an error that isn't in the book.

"Please cancel offset and/or taper, block 82 : M02;"

Now the block m82/M02 is just the end of program command.

I have G42 and G74 at the top of the program
G42 = Wire Radius Compensation Right
G75 = 4AXIS ON

And at the end of the program I have G40 and G75
G40 = Wire Radius Compensation Cancel
G75 = 4AXIS OFF

I can use the exact same code without any of the above commands, but that depends on mastercam to set the wire offset, not the best.

Any tips would be appreciated.

Here is the code:

Code:
(ALIGNMENT CHECK RING)
( 1 PASS OPEN )
(           ON OFF   IP HRP MAO     SV   V   SF C PIK CTRL  WK  WT  WS  WP   PC SK);
C000   =   008 015 2215 000 270 +050.0 8.0 0031 0 000 0000 025 180 080 040 0000 00;
C001   =   013 015 2215 000 240 +045.0 8.0 0031 0 000 0000 025 180 099 045 0000 00;
H000   = + 00000.00039 (Approch)                                       ;
H001   = + 00000.00638 (  1ST )                                        ;
H999   = + 00000.00200 ( Taper Offset )                                ;
QAIC(2,1,0.00492,000.5,0.00610,0.00079,008.0,0004,0013,15,035);
SFCC00070015;
;
TP0.875
TN0.75


G90 G54
G00 M05 X0. Y0. Z-.125 U0. V0.
T91
G29
T82
T96
T85
G42
G74
C001 H001
G01 X-.00158 Y.01121 V-.0035
X-.00475 Y.03364 V-.0105
X-.02057 Y.14576 V-.04549
X-.0176 Y.15568 V-.0455
X-.01007 Y.16279 V-.0455
X0. Y.16517 V-.04549
X.03006 Y.16242 U-.00828 V-.04474
X.05911 Y.15423 U-.01628 V-.04248
X.0862 Y.1409 U-.02375 V-.03881
X.1104 Y.12286 U-.03041 V-.03384
X.13091 Y.10072 U-.03606 V-.02774
X.14706 Y.07521 U-.04051 V-.02072
X.15829 Y.04719 U-.0436 V-.013
X.16423 Y.0176 U-.04523 V-.00485
X.16469 Y-.01258 U-.04536 V.00346
X.15965 Y-.04234 U-.04397 V.01166
X.14928 Y-.07069 U-.04112 V.01947
X.13392 Y-.09668 U-.03689 V.02663
X.11409 Y-.11944 U-.03142 V.0329
X.09045 Y-.13821 U-.02491 V.03807
X.06379 Y-.15236 U-.01757 V.04197
X.035 Y-.16142 U-.00964 V.04446
X.00504 Y-.1651 U-.00139 V.04548
X-.02509 Y-.16326 U.00691 V.04497
X-.05438 Y-.15596 U.01498 V.04296
X-.08186 Y-.14346 U.02255 V.03951
X-.1066 Y-.12617 U.02936 V.03475
X-.12778 Y-.10466 U.0352 V.02883
X-.14469 Y-.07966 U.03985 V.02194
X-.15677 Y-.052 U.04318 V.01432
X-.16362 Y-.0226 U.04507 V.00623
X-.165 Y.00755 U.04545 V-.00208
X-.16087 Y.03746 U.04431 V-.01032
X-.15137 Y.06611 U.0417 V-.01821
X-.13681 Y.09255 U.03768 V-.02549
X-.11768 Y.1159 U.03241 V-.03192
X-.09462 Y.13538 U.02606 V-.03729
X-.06841 Y.15034 U.01885 V-.04141
X-.0399 Y.16028 U.01099 V-.04415
X-.01007 Y.16487 U.00277 V-.04542
X0. Y.16517 V-.04549
X.01007 Y.16279 V-.0455
X.0176 Y.15568 V-.0455
X.02057 Y.14576 V-.04549
X.00241 Y.00776 V-.00607
X.00101 Y-.00286 V-.00303
X-.00039 Y-.01348
G40
G75
T85
T83
T97
T90
C777
M02
%

Your format is slightly different from my post for Sodick. I would try putting your G42 on the same line with your first G01 move, along with moving your G40 onto the last line of X,Y moves.

I just edited one of my 4axis programs to mimic yours and got the same error. So hopefully that can help you out. Also can try G50 (cancles taper I think).

Here is how mine post out using G74 and G75.
;
;
TP 0.0000
TN 0.3750
;
;
N100 G90 G54 ;
N110 G00 X-1.11391 Y1.02143 U0 V0;
N112 T91
N120 C001 H001 T84 ;
N130 G74
N150 G41 G01 X-1.07125 Y1.04929 U.00054 V0. ;
N160 X-.88054 Y1.24 U.00054 V0. ;
N170 X-.19314 Y1.24 U.00054 V0. ;
N180 X-.10676 Y.89579 U-.00084 V.00563 ;
N190 X-.09579 Y.88057 U-.00087 V.00571 ;
N200 X-.07992 Y.8706 U-.0009 V.00576 ;
N210 X-.06147 Y.8675 U-.00092 V.00577 ;
N220 X-.04328 Y.87181 U-.00097 V.00573 ;
N230 X.02414 Y.90314 U-.00289 V.00459 ;
N240 X.0886 Y.9319 U-.00498 V.00408 ;
N250 X.12885 Y.93876 U-.00645 V.00525 ;
N260 X.16741 Y.9465 U-.00737 V.0039 ;
N270 X.215 Y.96755 U-.00829 V.00192 ;
N280 X.28296 Y.99768 U-.01005 V.00034 ;
N290 X.33728 Y1.02685 U-.01072 V-.00242 ;
N300 X.39033 Y1.06117 U-.01231 V-.00349 ;
N310 X.41514 Y1.06884 U-.01433 V-.00057 ;
N320 X.42146 Y1.06998 U-.01441 V.00002 ;
N330 X.88002 Y1.06998 U-.00002 V.00002 ;
N340 X1.07071 Y.87929 U0. V0. ;
N350 G40 X1.10499 Y.84131 U0. V0. ;
N1050 G75
N1051 T85
N1052 T90
N1070 M02 ;
 
Last edited:
G40 line needs a feed move as mentioned, at least on ours, but not sure of vintage... ours are early mid 2010'ish?
 
G40 line needs a feed move as mentioned, at least on ours, but not sure of vintage... ours are early mid 2010'ish?

Yes you need to make a linear move after your G40 to comp out to. Usually you bring your U and V back to zero too to square up your wire somewhere in your start hole.
 








 
Back
Top