Re: G-Code Problem



Andy,

Likely nothing is wrong with your G-Code. Follow errors are cured by either
adjusting the PID values (primarily the P) if you are using freqmod.o and
sometimes by setting a deadband that is just over 1/2 of your step increment
(freqmod.o and steppermod.o). Sometimes you also have to reduce your
acceleration values. That normally fixes you up.

Tim
[Denver, CO]

----- Original Message -----
>
> Dear EMC List!
>
> My name is Andy and I am new here. I hope my questions are clear enough.
> I am fighting with BDI-EMC 2.12 since weeks. Now I have a problem with
> my
> G-Code Program. The first steps (lines in code) are working very well.
> Machine follows the commands correct. But suddenly the Machine stops and
> in the G-Code window the cursor stands on line N940. A window opens with
> "AXIS 0 following error" no more text stands in the Window. When I start
> EMC in a Terminal Window I can see a little bit more information on the
> Error:
>
>    Motion id 85 took 0.159436 seconds.
>    Motion id 87 took 0.009947 seconds.
>    Motion id 86 took 0.149801 seconds.
>    Motion id 88 took 0.009947 seconds.
>    Axis 0 following error
>    bridgeporttaskintf.cc 968: Error on axis 0.
>    Motion id 87 took 0.020007 seconds.
>    Motion id 0 took 0.000004 seconds.
>    emcTaskPlanClose() called at emctaskmain.cc:2795
>    Outgoing motion id is 404.
>
> Now the Machine is ON and not in ESTOP. No limit switch was hit.
> When I now switch in manual mode I can move all three axes.
> With the Verify button it seems that de G-Code is OK. No error or
> Warning is displayed. I don't know what is wrong if somebody can help it
> would be great. Following is the whole G-Code. I hope it isn't to much
> for mailing.
>
> Best regards to all from Vienna, Austria
> Andy
>
>
> %
> N10 F1000.0
> N20 G90
> N30 M06 T 8
> N40 M06 T 1
> N50 F800.0
> N140 M06 T 8
> N150 F800.0
> N160 G01 Z0.0
> N170 G00 X53.175 Y210.75
> N180 F400.0
> N190 G01 Z-5.0
> N200 F1000.0
> N210 G01 X74.3 Y198.825
> N220 G01 X102.075 Y198.825
> N230 G01 X123.2 Y210.75
> N240 G01 X123.375 Y210.825
> N250 G01 X123.525 Y210.925
> N260 G01 X123.7 Y211.0
> N270 G01 X123.9 Y211.1
> N280 G01 X124.075 Y211.175
> N290 G01 X124.25 Y211.225
> N300 G01 X124.45 Y211.3
> N310 G01 X124.625 Y211.35
> N320 G01 X124.825 Y211.4
> N330 G01 X125.025 Y211.45
> N340 G01 X125.225 Y211.5
> N350 G01 X125.4 Y211.525
> N360 G01 X125.6 Y211.55
> N370 G01 X125.8 Y211.575
> N380 G01 X126.0 Y211.575
> N390 G01 X126.2 Y211.575
> N400 G01 X126.775 Y211.55
> N410 G01 X127.375 Y211.475
> N420 G01 X127.925 Y211.325
> N430 G01 X128.45 Y211.125
> N440 G01 X128.95 Y210.875
> N450 G01 X129.45 Y210.575
> N460 G01 X129.9 Y210.25
> N470 G01 X130.3 Y209.875
> N480 G01 X130.675 Y209.45
> N490 G01 X131.0 Y209.025
> N500 G01 X131.3 Y208.525
> N510 G01 X131.55 Y208.025
> N520 G01 X131.75 Y207.5
> N530 G01 X131.9 Y206.925
> N540 G01 X131.975 Y206.35
> N550 G01 X132.0 Y205.775
> N560 G01 X132.0 Y205.75
> N570 G01 X132.0 Y205.725
> N580 G01 X132.0 Y205.7
> N590 G01 X132.0 Y172.725
> N600 G01 X127.25 Y162.625
> N610 G01 X127.25 Y133.725
> N620 G01 X152.525 Y86.9
> N630 G01 X152.525 Y27.25
> N640 G01 X152.525 Y27.225
> N650 G01 X152.525 Y27.175
> N660 G01 X152.525 Y27.15
> N670 G01 X152.525 Y27.1
> N680 G01 X152.525 Y27.075
> N690 G01 X152.525 Y27.025
> N700 G01 X152.525 Y27.0
> N710 G01 X152.525 Y26.95
> N720 G01 X152.525 Y26.925
> N730 G01 X152.525 Y26.875
> N740 G01 X152.525 Y26.85
> N750 G01 X152.525 Y26.8
> N760 G01 X152.525 Y26.775
> N770 G01 X152.525 Y26.725
> N780 G01 X152.525 Y26.7
> N790 G01 X152.525 Y26.675
> N800 G01 X152.5 Y25.8
> N810 G01 X152.4 Y24.95
> N820 G01 X152.25 Y24.125
> N830 G01 X152.025 Y23.325
> N840 G01 X151.75 Y22.525
> N850 G01 X151.425 Y21.75
> N860 G01 X151.05 Y21.0
> N870 G01 X150.625 Y20.275
> N880 G01 X150.15 Y19.6
> N890 G01 X149.6 Y18.95
> N900 G01 X149.05 Y18.35
> N910 G01 X148.425 Y17.775
> N920 G01 X147.775 Y17.25
> N930 G01 X147.075 Y16.775
> N940 G01 X146.35 Y16.35
> N950 G01 X145.575 Y16.0
> N960 G01 X131.75 Y10.25
> N970 G01 X131.65 Y10.225
> N980 G01 X131.55 Y10.175
> N990 G01 X131.45 Y10.15
> N1000 G01 X131.35 Y10.125
> N1010 G01 X131.275 Y10.1
> N1020 G01 X131.2 Y10.075
> N1030 G01 X131.125 Y10.075
> N1040 G01 X131.05 Y10.05
> N1050 G01 X130.975 Y10.05
> N1060 G01 X130.9 Y10.025
> N1070 G01 X130.825 Y10.025
> N1080 G01 X130.75 Y10.025
> N1090 G01 X130.65 Y10.0
> N1100 G01 X130.55 Y10.0
> N1110 G01 X130.45 Y10.0
> N1120 G01 X130.35 Y10.0
> N1130 G01 X129.925 Y10.025
> N1140 G01 X129.525 Y10.1
> N1150 G01 X129.15 Y10.2
> N1160 G01 X128.775 Y10.325
> N1170 G01 X128.425 Y10.5
> N1180 G01 X128.1 Y10.7
> N1190 G01 X127.8 Y10.925
> N1200 G01 X127.5 Y11.175
> N1210 G01 X127.25 Y11.475
> N1220 G01 X127.025 Y11.775
> N1230 G01 X126.825 Y12.1
> N1240 G01 X126.65 Y12.45
> N1250 G01 X126.5 Y12.825
> N1260 G01 X126.4 Y13.2
> N1270 G01 X126.35 Y13.6
> N1280 G01 X126.325 Y14.0
> N1290 G01 X126.35 Y17.525
> N1300 G01 X126.325 Y17.675
> N1310 G01 X126.3 Y17.825
> N1320 G01 X126.275 Y17.975
> N1330 G01 X126.225 Y18.125
> N1340 G01 X126.15 Y18.25
> N1350 G01 X126.075 Y18.375
> N1360 G01 X126.0 Y18.475
> N1370 G01 X125.9 Y18.6
> N1380 G01 X125.8 Y18.7
> N1390 G01 X125.675 Y18.775
> N1400 G01 X125.55 Y18.85
> N1410 G01 X125.425 Y18.925
> N1420 G01 X125.3 Y18.975
> N1430 G01 X125.15 Y19.0
> N1440 G01 X125.0 Y19.025
> N1450 G01 X51.6 Y19.025
> N1460 G01 X51.45 Y19.025
> N1470 G01 X51.3 Y19.0
> N1480 G01 X51.15 Y18.975
> N1490 G01 X51.025 Y18.925
> N1500 G01 X50.875 Y18.85
> N1510 G01 X50.75 Y18.775
> N1520 G01 X50.65 Y18.7
> N1530 G01 X50.525 Y18.6
> N1540 G01 X50.45 Y18.475
> N1550 G01 X50.35 Y18.375
> N1560 G01 X50.275 Y18.25
> N1570 G01 X50.225 Y18.125
> N1580 G01 X50.175 Y17.975
> N1590 G01 X50.125 Y17.825
> N1600 G01 X50.1 Y17.675
> N1610 G01 X50.1 Y17.525
> N1620 G01 X50.1 Y14.025
> N1630 G01 X50.1 Y13.6
> N1640 G01 X50.025 Y13.2
> N1650 G01 X49.925 Y12.825
> N1660 G01 X49.8 Y12.45
> N1670 G01 X49.625 Y12.1
> N1680 G01 X49.425 Y11.775
> N1690 G01 X49.2 Y11.475
> N1700 G01 X48.925 Y11.175
> N1710 G01 X48.65 Y10.925
> N1720 G01 X48.35 Y10.7
> N1730 G01 X48.0 Y10.5
> N1740 G01 X47.65 Y10.325
> N1750 G01 X47.3 Y10.2
> N1760 G01 X46.9 Y10.1
> N1770 G01 X46.5 Y10.025
> N1780 G01 X46.1 Y10.0
> N1790 G01 X45.975 Y10.0
> N1800 G01 X45.875 Y10.0
> N1810 G01 X45.775 Y10.0
> N1820 G01 X45.7 Y10.025
> N1830 G01 X45.6 Y10.025
> N1840 G01 X45.525 Y10.025
> N1850 G01 X45.45 Y10.05
> N1860 G01 X45.375 Y10.05
> N1870 G01 X45.3 Y10.075
> N1880 G01 X45.225 Y10.075
> N1890 G01 X45.15 Y10.1
> N1900 G01 X45.075 Y10.125
> N1910 G01 X45.0 Y10.15
> N1920 G01 X44.9 Y10.2
> N1930 G01 X44.85 Y10.2
> N1940 G01 X30.85 Y16.0
> N1950 G01 X30.1 Y16.35
> N1960 G01 X29.375 Y16.775
> N1970 G01 X28.675 Y17.25
> N1980 G01 X28.025 Y17.775
> N1990 G01 X27.4 Y18.35
> N2000 G01 X26.825 Y18.95
> N2010 G01 X26.3 Y19.6
> N2020 G01 X25.825 Y20.3
> N2030 G01 X25.4 Y21.0
> N2040 G01 X25.0 Y21.75
> N2050 G01 X24.675 Y22.525
> N2060 G01 X24.4 Y23.325
> N2070 G01 X24.225 Y24.125
> N2080 G01 X24.075 Y24.975
> N2090 G01 X23.975 Y25.8
> N2100 G01 X23.95 Y26.675
> N2110 G01 X23.95 Y26.7
> N2120 G01 X23.95 Y26.725
> N2130 G01 X23.95 Y26.775
> N2140 G01 X23.95 Y26.8
> N2150 G01 X23.95 Y26.85
> N2160 G01 X23.95 Y26.875
> N2170 G01 X23.95 Y26.925
> N2180 G01 X23.95 Y26.95
> N2190 G01 X23.95 Y27.0
> N2200 G01 X23.95 Y27.025
> N2210 G01 X23.95 Y27.075
> N2220 G01 X23.95 Y27.1
> N2230 G01 X23.95 Y27.15
> N2240 G01 X23.95 Y27.175
> N2250 G01 X23.95 Y27.225
> N2260 G01 X23.925 Y27.25
> N2270 G01 X23.925 Y86.9
> N2280 G01 X49.3 Y133.775
> N2290 G01 X49.3 Y162.575
> N2300 G01 X44.375 Y172.725
> N2310 G01 X44.35 Y172.8
> N2320 G01 X44.35 Y205.7
> N2330 G01 X44.35 Y205.725
> N2340 G01 X44.35 Y205.75
> N2350 G01 X44.35 Y205.775
> N2360 G01 X44.4 Y206.35
> N2370 G01 X44.475 Y206.925
> N2380 G01 X44.625 Y207.5
> N2390 G01 X44.825 Y208.025
> N2400 G01 X45.075 Y208.525
> N2410 G01 X45.35 Y209.025
> N2420 G01 X45.7 Y209.45
> N2430 G01 X46.075 Y209.875
> N2440 G01 X46.475 Y210.25
> N2450 G01 X46.925 Y210.575
> N2460 G01 X47.4 Y210.875
> N2470 G01 X47.925 Y211.125
> N2480 G01 X48.45 Y211.325
> N2490 G01 X49.0 Y211.475
> N2500 G01 X49.575 Y211.55
> N2510 G01 X50.175 Y211.575
> N2520 G01 X50.375 Y211.575
> N2530 G01 X50.575 Y211.575
> N2540 G01 X50.775 Y211.55
> N2550 G01 X50.95 Y211.525
> N2560 G01 X51.15 Y211.5
> N2570 G01 X51.35 Y211.45
> N2580 G01 X51.55 Y211.4
> N2590 G01 X51.725 Y211.35
> N2600 G01 X51.925 Y211.3
> N2610 G01 X52.1 Y211.225
> N2620 G01 X52.3 Y211.175
> N2630 G01 X52.475 Y211.1
> N2640 G01 X52.65 Y211.0
> N2650 G01 X52.825 Y210.925
> N2660 G01 X53.0 Y210.825
> N2670 G01 X53.175 Y210.75
> N2680 M06 T 1
> N2690 F800.0
> N2700 G01 Z0.0
> N2710 G00 X81.3 Y166.9
> N2720 F400.0
> N2730 G01 Z-5.0
> N2740 F1000.0
> N2750 G01 X95.25 Y166.9
> N2760 G01 X95.675 Y166.875
> N2770 G01 X96.075 Y166.825
> N2780 G01 X96.45 Y166.725
> N2790 G01 X96.825 Y166.6
> N2800 G01 X97.175 Y166.425
> N2810 G01 X97.525 Y166.25
> N2820 G01 X97.825 Y166.025
> N2830 G01 X98.125 Y165.775
> N2840 G01 X98.4 Y165.5
> N2850 G01 X98.625 Y165.2
> N2860 G01 X98.825 Y164.9
> N2870 G01 X99.0 Y164.575
> N2880 G01 X99.15 Y164.225
> N2890 G01 X99.25 Y163.85
> N2900 G01 X99.3 Y163.475
> N2910 G01 X99.325 Y152.025
> N2920 G01 X99.3 Y151.65
> N2930 G01 X99.25 Y151.275
> N2940 G01 X99.15 Y150.9
> N2950 G01 X99.0 Y150.55
> N2960 G01 X98.825 Y150.225
> N2970 G01 X98.625 Y149.9
> N2980 G01 X98.4 Y149.625
> N2990 G01 X98.125 Y149.35
> N3000 G01 X97.825 Y149.1
> N3010 G01 X97.525 Y148.875
> N3020 G01 X97.175 Y148.7
> N3030 G01 X96.825 Y148.525
> N3040 G01 X96.45 Y148.4
> N3050 G01 X96.075 Y148.3
> N3060 G01 X95.675 Y148.25
> N3070 G01 X81.3 Y148.225
> N3080 G01 X80.875 Y148.25
> N3090 G01 X80.475 Y148.3
> N3100 G01 X80.075 Y148.4
> N3110 G01 X79.7 Y148.525
> N3120 G01 X79.35 Y148.7
> N3130 G01 X79.025 Y148.875
> N3140 G01 X78.7 Y149.1
> N3150 G01 X78.425 Y149.35
> N3160 G01 X78.15 Y149.625
> N3170 G01 X77.925 Y149.9
> N3180 G01 X77.725 Y150.225
> N3190 G01 X77.55 Y150.55
> N3200 G01 X77.4 Y150.9
> N3210 G01 X77.3 Y151.275
> N3220 G01 X77.25 Y151.65
> N3230 G01 X77.225 Y163.075
> N3240 G01 X77.25 Y163.475
> N3250 G01 X77.3 Y163.85
> N3260 G01 X77.4 Y164.225
> N3270 G01 X77.55 Y164.575
> N3280 G01 X77.725 Y164.9
> N3290 G01 X77.925 Y165.2
> N3300 G01 X78.15 Y165.5
> N3310 G01 X78.425 Y165.775
> N3320 G01 X78.7 Y166.025
> N3330 G01 X79.025 Y166.25
> N3340 G01 X79.35 Y166.425
> N3350 G01 X79.7 Y166.6
> N3360 G01 X80.075 Y166.725
> N3370 G01 X80.475 Y166.825
> N3380 G01 X80.875 Y166.875
> N3390 G01 X81.3 Y166.9
> N3400 F800.0
> N3410 G01 Z0.0
> N3420 G00 X81.3 Y191.875
> N3430 F400.0
> N3440 G01 Z-5.0
> N3450 F1000.0
> N3460 G01 X95.25 Y191.875
> N3470 G01 X95.675 Y191.85
> N3480 G01 X96.075 Y191.8
> N3490 G01 X96.45 Y191.7
> N3500 G01 X96.825 Y191.575
> N3510 G01 X97.175 Y191.425
> N3520 G01 X97.525 Y191.225
> N3530 G01 X97.825 Y191.0
> N3540 G01 X98.125 Y190.75
> N3550 G01 X98.4 Y190.5
> N3560 G01 X98.625 Y190.2
> N3570 G01 X98.825 Y189.875
> N3580 G01 X99.0 Y189.55
> N3590 G01 X99.15 Y189.2
> N3600 G01 X99.25 Y188.85
> N3610 G01 X99.3 Y188.45
> N3620 G01 X99.325 Y177.025
> N3630 G01 X99.3 Y176.625
> N3640 G01 X99.25 Y176.25
> N3650 G01 X99.15 Y175.9
> N3660 G01 X99.0 Y175.55
> N3670 G01 X98.825 Y175.2
> N3680 G01 X98.625 Y174.9
> N3690 G01 X98.4 Y174.6
> N3700 G01 X98.125 Y174.325
> N3710 G01 X97.825 Y174.075
> N3720 G01 X97.525 Y173.875
> N3730 G01 X97.175 Y173.675
> N3740 G01 X96.825 Y173.525
> N3750 G01 X96.45 Y173.375
> N3760 G01 X96.075 Y173.3
> N3770 G01 X95.675 Y173.225
> N3780 G01 X81.3 Y173.225
> N3790 G01 X80.875 Y173.225
> N3800 G01 X80.475 Y173.3
> N3810 G01 X80.075 Y173.375
> N3820 G01 X79.7 Y173.525
> N3830 G01 X79.35 Y173.675
> N3840 G01 X79.025 Y173.875
> N3850 G01 X78.7 Y174.075
> N3860 G01 X78.425 Y174.325
> N3870 G01 X78.15 Y174.6
> N3880 G01 X77.925 Y174.9
> N3890 G01 X77.725 Y175.2
> N3900 G01 X77.55 Y175.55
> N3910 G01 X77.4 Y175.9
> N3920 G01 X77.3 Y176.25
> N3930 G01 X77.25 Y176.625
> N3940 G01 X77.225 Y188.075
> N3950 G01 X77.25 Y188.45
> N3960 G01 X77.3 Y188.85
> N3970 G01 X77.4 Y189.2
> N3980 G01 X77.55 Y189.55
> N3990 G01 X77.725 Y189.875
> N4000 G01 X77.925 Y190.2
> N4010 G01 X78.15 Y190.5
> N4020 G01 X78.425 Y190.75
> N4030 G01 X78.7 Y191.0
> N4040 G01 X79.025 Y191.225
> N4050 G01 X79.35 Y191.425
> N4060 G01 X79.7 Y191.575
> N4070 G01 X80.075 Y191.7
> N4080 G01 X80.475 Y191.8
> N4090 G01 X80.875 Y191.85
> N4100 G01 X81.3 Y191.875
> M30
>
>
>
>




Date Index | Thread Index | Back to archive index | Back to Mailing List Page

Problems or questions? Contact