Fivetide

12-04-2015, 08:30 PM

Just a quick one,

if you use vectric you may be able to answer this or even if you know your GCode.

I export the GCode as NC files because I use NCStudio on the machine.

What is happening is, the file cuts fine but it goes to the "machine" 0 point first and then returns to the work piece origin to start the job, this means that if I start a job anchored down in the middle of the bed it still goes off to the far corner before coming back. I do some small stuff that really only do a single hole or small pocket and it takes longer to go to the 0 point and then back than to finish off the job.

So I've post ed the first 20 lines or so of code below, to see if any one knows what I need to take out so the job basically starts from the work piece origin.

o0001

( smallbox_recess_2 )

N20 G91 G28 X0.000 Y0.000 Z3.001

N30 G00 G21 G17 G90

N40 G00 G40 G49 G80

N50 G71

N60 T1 M06

N70 G00 G43Z3.001H1 M8

N80 S12000 M03

N90 X0.000 Y0.000 F3600.0

N100 G00 X-27.650 Y-78.650 Z3.000

N110 G01 Z-3.000 F1200.0

N120 G01 X-25.350 F3600.0

N130 G01 Y-25.350

N140 G01 X-27.650

N150 G01 Y-78.650

N160 G01 X-30.050 Y-81.050

N170 G01 X-22.950

N180 G01 Y-22.950

N190 G01 X-30.050

N200 G01 Y-81.050

N210 G01 X-32.450 Y-83.450

N220 G01 X-20.550

N230 G01 Y-20.550

N240 G01 X-32.450

N250 G01 Y-83.450

N260 G01 X-34.850 Y-85.850

N270 G01 X-18.150

N280 G01 Y-18.150

N290 G01 X-34.850

N300 G01 Y-85.850

N310 G01 X-37.250 Y-88.250

N320 G01 X-15.750

N330 G01 Y-15.750

N340 G01 X-37.250

N350 G01 Y-88.250

N360 G01 X-39.650 Y-90.650

N370 G01 X-13.350

N380 G01 Y-13.350

N390 G01 X-39.650

N400 G01 Y-90.650

N410 G01 X-42.050 Y-93.050

N420 G01 X-10.950

N430 G01 Y-10.950

N440 G01 X-42.050

N450 G01 Y-93.050

N460 G01 X-44.450 Y-95.450

N470 G01 X-8.550

N480 G01 Y-8.550

N490 G01 X-44.450

N500 G01 Y-95.450

N510 G01 X-46.850 Y-97.850

N520 G01 X-6.150

N530 G01 Y-6.150

N540 G01 X-46.850

N550 G01 Y-97.850

N560 G01 X-49.250 Y-100.250

N570 G01 X-3.750

N580 G01 Y-3.750

N590 G01 X-49.250

N600 G01 Y-100.250

N610 G00 Z3.000

N620 G00 Z3.000

N630 S12000 M03

N640 G00 X-26.750 Y-50.050 Z3.000

N650 G01 Z-6.250 F1200.0

N660 G03 X-26.450 Y-49.750 I0.000 J0.300 F3600.0

N670 G03 X-26.750 Y-49.450 I-0.300 J0.000

N680 G03 X-27.050 Y-49.750 I0.000 J-0.300

N690 G03 X-26.750 Y-50.050 I0.300 J0.000

N700 G01 Y-52.450

N710 G03 X-24.050 Y-49.750 I0.000 J2.700

N720 G03 X-26.750 Y-47.050 I-2.700 J0.000

N730 G03 X-29.450 Y-49.750 I0.000 J-2.700

N740 G03 X-26.750 Y-52.450 I2.700 J0.000

N750 G01 Y-54.850

N760 G03 X-21.650 Y-49.750 I0.000 J5.100

N770 G03 X-26.750 Y-44.650 I-5.100 J0.000

N780 G03 X-31.850 Y-49.750 I0.000 J-5.100

N790 G03 X-26.750 Y-54.850 I5.100 J0.000

N800 G01 Y-57.250

N810 G03 X-19.250 Y-49.750 I0.000 J7.500

N820 G03 X-26.750 Y-42.250 I-7.500 J0.000

N830 G03 X-34.250 Y-49.750 I0.000 J-7.500

N840 G03 X-26.750 Y-57.250 I7.500 J0.000

N850 G00 Z3.000

N860 G00 Y-50.050

N870 G01 Z-9.500 F1200.0

N880 G03 X-26.450 Y-49.750 I0.000 J0.300 F3600.0

N890 G03 X-26.750 Y-49.450 I-0.300 J0.000

N900 G03 X-27.050 Y-49.750 I0.000 J-0.300

N910 G03 X-26.750 Y-50.050 I0.300 J0.000

N920 G01 Y-52.450

N930 G03 X-24.050 Y-49.750 I0.000 J2.700

N940 G03 X-26.750 Y-47.050 I-2.700 J0.000

N950 G03 X-29.450 Y-49.750 I0.000 J-2.700

N960 G03 X-26.750 Y-52.450 I2.700 J0.000

N970 G01 Y-54.850

N980 G03 X-21.650 Y-49.750 I0.000 J5.100

N990

if you use vectric you may be able to answer this or even if you know your GCode.

I export the GCode as NC files because I use NCStudio on the machine.

What is happening is, the file cuts fine but it goes to the "machine" 0 point first and then returns to the work piece origin to start the job, this means that if I start a job anchored down in the middle of the bed it still goes off to the far corner before coming back. I do some small stuff that really only do a single hole or small pocket and it takes longer to go to the 0 point and then back than to finish off the job.

So I've post ed the first 20 lines or so of code below, to see if any one knows what I need to take out so the job basically starts from the work piece origin.

o0001

( smallbox_recess_2 )

N20 G91 G28 X0.000 Y0.000 Z3.001

N30 G00 G21 G17 G90

N40 G00 G40 G49 G80

N50 G71

N60 T1 M06

N70 G00 G43Z3.001H1 M8

N80 S12000 M03

N90 X0.000 Y0.000 F3600.0

N100 G00 X-27.650 Y-78.650 Z3.000

N110 G01 Z-3.000 F1200.0

N120 G01 X-25.350 F3600.0

N130 G01 Y-25.350

N140 G01 X-27.650

N150 G01 Y-78.650

N160 G01 X-30.050 Y-81.050

N170 G01 X-22.950

N180 G01 Y-22.950

N190 G01 X-30.050

N200 G01 Y-81.050

N210 G01 X-32.450 Y-83.450

N220 G01 X-20.550

N230 G01 Y-20.550

N240 G01 X-32.450

N250 G01 Y-83.450

N260 G01 X-34.850 Y-85.850

N270 G01 X-18.150

N280 G01 Y-18.150

N290 G01 X-34.850

N300 G01 Y-85.850

N310 G01 X-37.250 Y-88.250

N320 G01 X-15.750

N330 G01 Y-15.750

N340 G01 X-37.250

N350 G01 Y-88.250

N360 G01 X-39.650 Y-90.650

N370 G01 X-13.350

N380 G01 Y-13.350

N390 G01 X-39.650

N400 G01 Y-90.650

N410 G01 X-42.050 Y-93.050

N420 G01 X-10.950

N430 G01 Y-10.950

N440 G01 X-42.050

N450 G01 Y-93.050

N460 G01 X-44.450 Y-95.450

N470 G01 X-8.550

N480 G01 Y-8.550

N490 G01 X-44.450

N500 G01 Y-95.450

N510 G01 X-46.850 Y-97.850

N520 G01 X-6.150

N530 G01 Y-6.150

N540 G01 X-46.850

N550 G01 Y-97.850

N560 G01 X-49.250 Y-100.250

N570 G01 X-3.750

N580 G01 Y-3.750

N590 G01 X-49.250

N600 G01 Y-100.250

N610 G00 Z3.000

N620 G00 Z3.000

N630 S12000 M03

N640 G00 X-26.750 Y-50.050 Z3.000

N650 G01 Z-6.250 F1200.0

N660 G03 X-26.450 Y-49.750 I0.000 J0.300 F3600.0

N670 G03 X-26.750 Y-49.450 I-0.300 J0.000

N680 G03 X-27.050 Y-49.750 I0.000 J-0.300

N690 G03 X-26.750 Y-50.050 I0.300 J0.000

N700 G01 Y-52.450

N710 G03 X-24.050 Y-49.750 I0.000 J2.700

N720 G03 X-26.750 Y-47.050 I-2.700 J0.000

N730 G03 X-29.450 Y-49.750 I0.000 J-2.700

N740 G03 X-26.750 Y-52.450 I2.700 J0.000

N750 G01 Y-54.850

N760 G03 X-21.650 Y-49.750 I0.000 J5.100

N770 G03 X-26.750 Y-44.650 I-5.100 J0.000

N780 G03 X-31.850 Y-49.750 I0.000 J-5.100

N790 G03 X-26.750 Y-54.850 I5.100 J0.000

N800 G01 Y-57.250

N810 G03 X-19.250 Y-49.750 I0.000 J7.500

N820 G03 X-26.750 Y-42.250 I-7.500 J0.000

N830 G03 X-34.250 Y-49.750 I0.000 J-7.500

N840 G03 X-26.750 Y-57.250 I7.500 J0.000

N850 G00 Z3.000

N860 G00 Y-50.050

N870 G01 Z-9.500 F1200.0

N880 G03 X-26.450 Y-49.750 I0.000 J0.300 F3600.0

N890 G03 X-26.750 Y-49.450 I-0.300 J0.000

N900 G03 X-27.050 Y-49.750 I0.000 J-0.300

N910 G03 X-26.750 Y-50.050 I0.300 J0.000

N920 G01 Y-52.450

N930 G03 X-24.050 Y-49.750 I0.000 J2.700

N940 G03 X-26.750 Y-47.050 I-2.700 J0.000

N950 G03 X-29.450 Y-49.750 I0.000 J-2.700

N960 G03 X-26.750 Y-52.450 I2.700 J0.000

N970 G01 Y-54.850

N980 G03 X-21.650 Y-49.750 I0.000 J5.100

N990