Hello Guest it is December 26, 2024, 01:45:29 PM

Author Topic: Wierd X offset question/problem  (Read 11591 times)

0 Members and 1 Guest are viewing this topic.

Wierd X offset question/problem
« on: June 09, 2009, 03:32:21 PM »
I have a Syil X4 Plus mill and am controlling it with Mach 3. I am using Featurecam to generate tool paths and then a postprocessor I found online to generate G-code. Here si my problem:

I clamped my material in my vise and then set the cutter at 0,0,0, then I zeroed the DRO in Mach 3. When I ran my program, the X axis is offset around .25" It runs fine in my featurecam simulation, but looks offset when I load the program into Mach 3. I ran the program anyway, and sure enough there is an offset. Is thhis a common problem? Do I need to change an offset somewhere in Mach 3? Any other suggestions?

Thanks!

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Wierd X offset question/problem
« Reply #1 on: June 09, 2009, 03:34:18 PM »
Can you attach the code please.
Hood
Re: Wierd X offset question/problem
« Reply #2 on: June 09, 2009, 07:19:04 PM »
% (=============================================)
(Project: 10-22_1_pc_top )
(Compiled: 6-8-2009)
(----------------------------------------------)
(FeatureMILL POST for MACH3 MILL rev1.0 - 03/05/2006)
(MACH3-MILL - rev1.0.CNC)
(NovaLab / CK)
(=============================================)
(====== Tool No 1 = endmill0500:regw)
(====== Tool No 1  diam. = 0.5)
(..... Segment = SIDE1)
(..... Operation = ROUGH1 SIDE)
(=============================================)
N75 M91000 (Lead-in Macro for Smithy Setup)
N80 G40 G49 G17 G80 G61 G70 G90 (Inch mode & Exact Stop)
N85 G00
N90 T1 M6
N95 F6.62
N100 G54 X1.5549 Y0.9019 S2500 M03
N105 M08
N110 G43 H1 Z1.0
N115 Z0.1
N120 G01 Z-0.0625 F6.62
N125 X1.6543 Y0.8191 F13.24
N130 X1.7 Y0.6509
N135 X1.371 Y0.925
N140 X1.2148
N145 X1.6561 Y0.5573
N150 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N155 G01 Y0.25
N160 G03 X1.5921 Y0.4805 I-0.3 J0.
N165 G01 X1.1421 Y0.8555
N170 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N175 G01 X0.45
N180 G03 X0.4384 Y0.9248 I0. J-0.3
N185 G01 X-0.1549 Y0.9019
N190 X-0.2543 Y0.8191
N195 X-0.3 Y0.6509
N200 X0.029 Y0.925
N205 X0.1852
N210 X-0.2561 Y0.5573
N215 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N220 G01 Y0.25
N225 G02 X-0.1921 Y0.4805 I0.3 J0.
N230 G01 X0.2579 Y0.8555
N235 G02 X0.45 Y0.925 I0.1921 J-0.2305
N240 G03 X0.2579 Y0.8555 I0. J-0.3
N245 G01 X-0.1921 Y0.4805
N250 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N255 G01 Y0.
N260 G03 X0. Y-0.3 I0.3 J0.
N265 G01 X0.5977
N270 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N275 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N280 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N285 G01 X0.9377
N290 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N295 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N300 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N305 G01 X0.1977
N310 G03 X0.4976 Y-0.009 I0. J0.3
N315 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N320 G03 X1.2023 Y-0.3 I0.2999 J0.009
N325 G01 X1.4
N330 G03 X1.7 Y0. I0. J0.3
N335 G01 Y0.25
N340 G03 X1.692 Y0.3186 I-0.3 J0.
N345 G01 X1.5549 Y0.9019
N350 Z-0.125 F6.62
N355 X1.6543 Y0.8191 F13.24
N360 X1.7 Y0.6509
N365 X1.371 Y0.925
N370 X1.2148
N375 X1.6561 Y0.5573
N380 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N385 G01 Y0.25
N390 G03 X1.5921 Y0.4805 I-0.3 J0.
N395 G01 X1.1421 Y0.8555
N400 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N405 G01 X0.45
N410 G03 X0.4384 Y0.9248 I0. J-0.3
N415 G01 X-0.1549 Y0.9019
N420 X-0.2543 Y0.8191
N425 X-0.3 Y0.6509
N430 X0.029 Y0.925
N435 X0.1852
N440 X-0.2561 Y0.5573
N445 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N450 G01 Y0.25
N455 G02 X-0.1921 Y0.4805 I0.3 J0.
N460 G01 X0.2579 Y0.8555
N465 G02 X0.45 Y0.925 I0.1921 J-0.2305
N470 G03 X0.2579 Y0.8555 I0. J-0.3
N475 G01 X-0.1921 Y0.4805
N480 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N485 G01 Y0.
N490 G03 X0. Y-0.3 I0.3 J0.
N495 G01 X0.5977
N500 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N505 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N510 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N515 G01 X0.9377
N520 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N525 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N530 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N535 G01 X0.1977
N540 G03 X0.4976 Y-0.009 I0. J0.3
N545 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N550 G03 X1.2023 Y-0.3 I0.2999 J0.009
N555 G01 X1.4
N560 G03 X1.7 Y0. I0. J0.3
N565 G01 Y0.25
N570 G03 X1.692 Y0.3186 I-0.3 J0.
N575 G01 X1.5549 Y0.9019
N580 Z-0.1875 F6.62
N585 X1.6543 Y0.8191 F13.24
N590 X1.7 Y0.6509
N595 X1.371 Y0.925
N600 X1.2148
N605 X1.6561 Y0.5573
N610 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N615 G01 Y0.25
N620 G03 X1.5921 Y0.4805 I-0.3 J0.
N625 G01 X1.1421 Y0.8555
N630 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N635 G01 X0.45
N640 G03 X0.4384 Y0.9248 I0. J-0.3
N645 G01 X-0.1549 Y0.9019
N650 X-0.2543 Y0.8191
N655 X-0.3 Y0.6509
N660 X0.029 Y0.925
N665 X0.1852
N670 X-0.2561 Y0.5573
N675 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N680 G01 Y0.25
N685 G02 X-0.1921 Y0.4805 I0.3 J0.
N690 G01 X0.2579 Y0.8555
N695 G02 X0.45 Y0.925 I0.1921 J-0.2305
N700 G03 X0.2579 Y0.8555 I0. J-0.3
N705 G01 X-0.1921 Y0.4805
N710 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N715 G01 Y0.
N720 G03 X0. Y-0.3 I0.3 J0.
N725 G01 X0.5977
N730 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N735 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N740 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N745 G01 X0.9377
N750 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N755 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N760 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N765 G01 X0.1977
N770 G03 X0.4976 Y-0.009 I0. J0.3
N775 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N780 G03 X1.2023 Y-0.3 I0.2999 J0.009
N785 G01 X1.4
N790 G03 X1.7 Y0. I0. J0.3
N795 G01 Y0.25
N800 G03 X1.692 Y0.3186 I-0.3 J0.
N805 G01 X1.5549 Y0.9019
N810 Z-0.25 F6.62
N815 X1.6543 Y0.8191 F13.24
N820 X1.7 Y0.6509
N825 X1.371 Y0.925
N830 X1.2148
N835 X1.6561 Y0.5573
N840 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N845 G01 Y0.25
N850 G03 X1.5921 Y0.4805 I-0.3 J0.
N855 G01 X1.1421 Y0.8555
N860 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N865 G01 X0.45
N870 G03 X0.4384 Y0.9248 I0. J-0.3
N875 G01 X-0.1549 Y0.9019
N880 X-0.2543 Y0.8191
N885 X-0.3 Y0.6509
N890 X0.029 Y0.925
N895 X0.1852
N900 X-0.2561 Y0.5573
N905 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N910 G01 Y0.25
N915 G02 X-0.1921 Y0.4805 I0.3 J0.
N920 G01 X0.2579 Y0.8555
N925 G02 X0.45 Y0.925 I0.1921 J-0.2305
N930 G03 X0.2579 Y0.8555 I0. J-0.3
N935 G01 X-0.1921 Y0.4805
N940 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N945 G01 Y0.
N950 G03 X0. Y-0.3 I0.3 J0.
N955 G01 X0.5977
N960 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N965 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N970 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N975 G01 X0.9377
N980 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N985 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N990 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N995 G01 X0.1977
N1000 G03 X0.4976 Y-0.009 I0. J0.3
N1005 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N1010 G03 X1.2023 Y-0.3 I0.2999 J0.009
N1015 G01 X1.4
N1020 G03 X1.7 Y0. I0. J0.3
N1025 G01 Y0.25
N1030 G03 X1.692 Y0.3186 I-0.3 J0.
N1035 G01 X1.5549 Y0.9019
N1040 Z-0.3125 F6.62
N1045 X1.6543 Y0.8191 F13.24
N1050 X1.7 Y0.6509
N1055 X1.371 Y0.925
N1060 X1.2148
N1065 X1.6561 Y0.5573
N1070 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N1075 G01 Y0.25
N1080 G03 X1.5921 Y0.4805 I-0.3 J0.
N1085 G01 X1.1421 Y0.8555
N1090 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N1095 G01 X0.45
N1100 G03 X0.4384 Y0.9248 I0. J-0.3
N1105 G01 X-0.1549 Y0.9019
N1110 X-0.2543 Y0.8191
N1115 X-0.3 Y0.6509
N1120 X0.029 Y0.925
N1125 X0.1852
N1130 X-0.2561 Y0.5573
N1135 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N1140 G01 Y0.25
N1145 G02 X-0.1921 Y0.4805 I0.3 J0.
N1150 G01 X0.2579 Y0.8555
N1155 G02 X0.45 Y0.925 I0.1921 J-0.2305
N1160 G03 X0.2579 Y0.8555 I0. J-0.3
N1165 G01 X-0.1921 Y0.4805
N1170 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N1175 G01 Y0.
N1180 G03 X0. Y-0.3 I0.3 J0.
N1185 G01 X0.5977
N1190 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N1195 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N1200 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N1205 G01 X0.9377
N1210 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N1215 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N1220 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N1225 G01 X0.1977
N1230 G03 X0.4976 Y-0.009 I0. J0.3
N1235 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N1240 G03 X1.2023 Y-0.3 I0.2999 J0.009
N1245 G01 X1.4
N1250 G03 X1.7 Y0. I0. J0.3
N1255 G01 Y0.25
N1260 G03 X1.692 Y0.3186 I-0.3 J0.
N1265 G01 X1.5549 Y0.9019
N1270 Z-0.375 F6.62
N1275 X1.6543 Y0.8191 F13.24
N1280 X1.7 Y0.6509
N1285 X1.371 Y0.925
N1290 X1.2148
N1295 X1.6561 Y0.5573
N1300 G02 X1.7 Y0.5146 I-0.2561 J-0.3073
N1305 G01 Y0.25
N1310 G03 X1.5921 Y0.4805 I-0.3 J0.
N1315 G01 X1.1421 Y0.8555
N1320 G03 X0.95 Y0.925 I-0.1921 J-0.2305
N1325 G01 X0.45
N1330 G03 X0.4384 Y0.9248 I0. J-0.3
N1335 G01 X-0.1549 Y0.9019
N1340 X-0.2543 Y0.8191
N1345 X-0.3 Y0.6509
N1350 X0.029 Y0.925
N1355 X0.1852
N1360 X-0.2561 Y0.5573
N1365 G03 X-0.3 Y0.5146 I0.2561 J-0.3073
N1370 G01 Y0.25
N1375 G02 X-0.1921 Y0.4805 I0.3 J0.
N1380 G01 X0.2579 Y0.8555
N1385 G02 X0.45 Y0.925 I0.1921 J-0.2305
N1390 G03 X0.2579 Y0.8555 I0. J-0.3
N1395 G01 X-0.1921 Y0.4805
N1400 G03 X-0.3 Y0.25 I0.1921 J-0.2305
N1405 G01 Y0.
N1410 G03 X0. Y-0.3 I0.3 J0.
N1415 G01 X0.5977
N1420 G03 X0.6975 Y-0.0149 I-0.4 J0.3
N1425 G02 X0.7025 Y-0.0149 I0.0025 J-0.0001
N1430 G03 X0.8023 Y-0.3 I0.4998 J0.0149
N1435 G01 X0.9377
N1440 G02 X0.8025 Y-0.0119 I0.2646 J0.3
N1445 G03 X0.5975 Y-0.0119 I-0.1025 J-0.0031
N1450 G02 X0.4623 Y-0.3 I-0.3998 J0.0119
N1455 G01 X0.1977
N1460 G03 X0.4976 Y-0.009 I0. J0.3
N1465 G02 X0.9024 Y-0.009 I0.2024 J-0.006
N1470 G03 X1.2023 Y-0.3 I0.2999 J0.009
N1475 G01 X1.4
N1480 G03 X1.7 Y0. I0. J0.3
N1485 G00 Z-0.0536
N1490 G01 X1.6618 Y-0.0326 F11.03
N1495 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N1500 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N1505 G01 X1.2023 F11.03
N1510 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N1515 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N1520 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N1525 G01 X0. F11.03
N1530 G02 X-0.25 Y0. I0. J0.25 F16.54
N1535 G01 Y0.25 F11.03
N1540 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N1545 G01 X0.29 Y0.8171 F11.03
N1550 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N1555 G01 X0.95 F11.03
N1560 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N1565 G01 X1.56 Y0.4421 F11.03
N1570 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N1575 G01 Y0. F11.03
N1580 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N1585 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N1590 G01 X1.5558 Y-0.2564 F11.03
N1595 X1.7 Y0.
N1600 Z-0.1071
N1605 X1.6618 Y-0.0326
N1610 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N1615 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N1620 G01 X1.2023 F11.03
N1625 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N1630 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N1635 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N1640 G01 X0. F11.03
N1645 G02 X-0.25 Y0. I0. J0.25 F16.54
N1650 G01 Y0.25 F11.03
N1655 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N1660 G01 X0.29 Y0.8171 F11.03
N1665 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N1670 G01 X0.95 F11.03
N1675 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N1680 G01 X1.56 Y0.4421 F11.03
N1685 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N1690 G01 Y0. F11.03
N1695 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N1700 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N1705 G01 X1.5558 Y-0.2564 F11.03
N1710 X1.7 Y0.
N1715 Z-0.1607
N1720 X1.6618 Y-0.0326
N1725 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N1730 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N1735 G01 X1.2023 F11.03
N1740 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N1745 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N1750 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N1755 G01 X0. F11.03
N1760 G02 X-0.25 Y0. I0. J0.25 F16.54
N1765 G01 Y0.25 F11.03
N1770 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N1775 G01 X0.29 Y0.8171 F11.03
N1780 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N1785 G01 X0.95 F11.03
N1790 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N1795 G01 X1.56 Y0.4421 F11.03
N1800 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N1805 G01 Y0. F11.03
N1810 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N1815 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N1820 G01 X1.5558 Y-0.2564 F11.03
N1825 X1.7 Y0.
N1830 Z-0.2143
N1835 X1.6618 Y-0.0326
N1840 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N1845 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N1850 G01 X1.2023 F11.03
N1855 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N1860 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N1865 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N1870 G01 X0. F11.03
N1875 G02 X-0.25 Y0. I0. J0.25 F16.54
N1880 G01 Y0.25 F11.03
N1885 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N1890 G01 X0.29 Y0.8171 F11.03
N1895 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N1900 G01 X0.95 F11.03
N1905 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N1910 G01 X1.56 Y0.4421 F11.03
N1915 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N1920 G01 Y0. F11.03
N1925 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N1930 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N1935 G01 X1.5558 Y-0.2564 F11.03
N1940 X1.7 Y0.
N1945 Z-0.2679
N1950 X1.6618 Y-0.0326
N1955 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N1960 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N1965 G01 X1.2023 F11.03
N1970 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N1975 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N1980 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N1985 G01 X0. F11.03
N1990 G02 X-0.25 Y0. I0. J0.25 F16.54
N1995 G01 Y0.25 F11.03
N2000 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N2005 G01 X0.29 Y0.8171 F11.03
N2010 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N2015 G01 X0.95 F11.03
N2020 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N2025 G01 X1.56 Y0.4421 F11.03
N2030 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N2035 G01 Y0. F11.03
N2040 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N2045 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N2050 G01 X1.5558 Y-0.2564 F11.03
N2055 X1.7 Y0.
N2060 Z-0.3214
N2065 X1.6618 Y-0.0326
N2070 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N2075 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N2080 G01 X1.2023 F11.03
N2085 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N2090 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N2095 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N2100 G01 X0. F11.03
N2105 G02 X-0.25 Y0. I0. J0.25 F16.54
N2110 G01 Y0.25 F11.03
N2115 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N2120 G01 X0.29 Y0.8171 F11.03
N2125 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N2130 G01 X0.95 F11.03
N2135 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N2140 G01 X1.56 Y0.4421 F11.03
N2145 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N2150 G01 Y0. F11.03
N2155 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N2160 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N2165 G01 X1.5558 Y-0.2564 F11.03
N2170 X1.7 Y0.
N2175 Z-0.375
N2180 X1.6618 Y-0.0326
N2185 G03 X1.6379 Y-0.0768 I0.1069 J-0.0864 F5.51
N2190 G02 X1.4 Y-0.25 I-0.2379 J0.0768 F16.54
N2195 G01 X1.2023 F11.03
N2200 G02 X0.9524 Y-0.0075 I0. J0.25 F16.54
N2205 G03 X0.4476 Y-0.0075 I-0.2524 J-0.0075 F5.54
N2210 G02 X0.1977 Y-0.25 I-0.2499 J0.0075 F16.54
N2215 G01 X0. F11.03
N2220 G02 X-0.25 Y0. I0. J0.25 F16.54
N2225 G01 Y0.25 F11.03
N2230 G02 X-0.16 Y0.4421 I0.25 J0. F16.54
N2235 G01 X0.29 Y0.8171 F11.03
N2240 G02 X0.45 Y0.875 I0.16 J-0.1921 F16.54
N2245 G01 X0.95 F11.03
N2250 G02 X1.11 Y0.8171 I0. J-0.25 F16.54
N2255 G01 X1.56 Y0.4421 F11.03
N2260 G02 X1.65 Y0.25 I-0.16 J-0.1921 F16.54
N2265 G01 Y0. F11.03
N2270 G02 X1.5892 Y-0.1634 I-0.25 J0. F16.54
N2275 G03 X1.5639 Y-0.2068 I0.1041 J-0.0899 F5.51
N2280 G01 X1.5558 Y-0.2564 F11.03
N2285 G00 Z1.0
N2290 G91 Z0 M09
N2295 G40 G49 G17 G80 G61 G70 G90 (Inch mode & Exact Stop)
N2300 M91001
N2305 M30
(----------------------------------------------------------------------)
(------------------------------ E N D -----------------------------)
(----------------------------------------------------------------------)
%
Re: Wierd X offset question/problem
« Reply #3 on: June 09, 2009, 07:43:15 PM »
HI,

I think your problem is your code do not have any cutter compensation.

Your cutter is a .500 endmill, you should insert in your code a G41 or G42 cutter compensation in order to have the edge of the cutter at 0.0.

Just my opinion,

Jeff
Re: Wierd X offset question/problem
« Reply #4 on: June 10, 2009, 02:37:03 AM »
Do I insert a line like this?

N82 G42 X0.25

Is that how it works?
Re: Wierd X offset question/problem
« Reply #6 on: June 10, 2009, 03:01:18 AM »
Cool pic, I like gunsmithing...........that is a neat site.

Should I see a difference in the Mach 3 graphics window or will I see it on the machine?

All I need to do is add that line, I leave the G40's in there?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
Re: Wierd X offset question/problem
« Reply #7 on: June 10, 2009, 04:10:22 AM »
You seem to have defined the X Y zero position as 0.25inch inside your part, if you are meaning to have the lower left corner of the material as the zero position then you should alter that in your CAM.
Hood
Re: Wierd X offset question/problem
« Reply #8 on: June 10, 2009, 10:58:00 AM »
Yes, if you go with conventionnal machining (G42) or if you go with climb milling, go with G41

Check out the link or the attached picture, hope this help, Jeff


http://images.google.ca/imgres?imgurl=http://www.home-machine-shop.com/bits/CLIMB_MILLING_THUMB.jpg&imgrefurl=http://www.home-machine-shop.com/bits/index.htm&usg=__5HD1nU_z74D2GOZusUPOzCZTpp0=&h=421&w=450&sz=189&hl=fr&start=9&um=1&tbnid=gknMDciYjDwL4M:&tbnh=119&tbnw=127&prev=/images%3Fq%3Dclimb%2Bmilling%26hl%3Dfr%26sa%3DN%26um%3D1

Either I'm reading it wrong, or that picture is exactly bass-ackwards in it's indications of climb vs standard milling.  In standard milling, the cutting edge first contacts the work behind the cutter, so you have a thin chip that gets thicker as the tool rotates.  In climb milling, it first contact in front of the cutter, so you have a thick chip that gets thinner as the tool rotates.

Regards,
Ray L.
Regards,
Ray L.
Re: Wierd X offset question/problem
« Reply #9 on: June 10, 2009, 11:00:18 AM »
Ah, I think I see the problem - Are the arrows indicating cutter movement, or workpiece movement?  If they show workpiece movement, then it is correct.

Regards,
Ray L.
Regards,
Ray L.