. .
  1. #1
    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

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


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

    G91 tells the machine to move in reference mode
    G28 tells it to return to reference point ...

    read more there:
    http://www.cnccookbook.com/CCCNCGCodeG28ReturntoReference.htm
    read that also
    http://www.cnccookbook.com/CCCNCGCodeG00G01.htm


    this exactly is the code that tells your machine to start from work 0
    N90 X0.000 Y0.000 F3600.0



    if you dont understand from first read whats happening, then dont mess around, just change the HOME position of your machine to left nearest corner instead of middle of the machine.

    or you could just raise the jog rate to the max by the motor tuning /velocity/ so all free non cut positioning movements will happen a lot faster.
    project 1 , 2, Dust Shoe ...

  3. The Following User Says Thank You to Boyan Silyavski For This Useful Post:


  4. #3
    Clive S's Avatar
    Lives in Marple Stockport, United Kingdom. Last Activity: 13 Hours Ago Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 3,333. Received thanks 618 times, giving thanks to others 78 times. Made a monetary donation to the upkeep of the community. Is a beta tester for Machinists Network features.
    N90 X0.000 Y0.000 F3600.0
    N100 G00 X-27.650 Y-78.650 Z3.000
    N110 G01 Z-3.000 F1200.0
    line N90 is telling it to go back to the machine Zero with a feed rate of 3600 you can just take out the X0 and the Y0 or change the numbers to some where near your work piece is.
    line N100 is taking you at rapid speed to the start of your job and line N110 is dropping your Z down to -3mm at the feed rate of 1200. ..Clive

  5. #4
    Ahh I get it now thanks for that.. so if I set my machine home to front-left corner and position my work piece to as near to that as possible , and set the origin to bottom left in aspire, as well. It will or should start near enough at the work piece origin ?

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


  6. #5
    Quote Originally Posted by Clive S View Post
    line N90 is telling it to go back to the machine Zero with a feed rate of 3600 you can just take out the X0 and the Y0 or change the numbers to some where near your work piece is.
    line N100 is taking you at rapid speed to the start of your job and line N110 is dropping your Z down to -3mm at the feed rate of 1200. ..Clive
    Ah ! so if i take out x0 and y0 it will basically just start the work where I set the work piece origin ?
    Can I take the entire line out .. -> N90 X0.000 Y0.000 F3600.0 or does it need the feed rate command to function ?
    Last edited by Fivetide; 12-04-2015 at 11:00 PM.

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


  7. #6
    Clive S's Avatar
    Lives in Marple Stockport, United Kingdom. Last Activity: 13 Hours Ago Forum Superstar, has done so much to help others, they deserve a medal. Has been a member for 9-10 years. Has a total post count of 3,333. Received thanks 618 times, giving thanks to others 78 times. Made a monetary donation to the upkeep of the community. Is a beta tester for Machinists Network features.
    I would just take out the x and y zero

  8. The Following User Says Thank You to Clive S For This Useful Post:


  9. #7
    Quote Originally Posted by Clive S View Post
    I would just take out the x and y zero
    Thanks Clive I will try it tomorrow post results.

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


  10. #8
    In Aspire or V Carve Pro, you can specify the "home" location, so it goes somewhere else other than 0,0.
    You can also edit the post processor to remove that first move.
    Gerry
    ______________________________________________
    UCCNC 2022 Screenset

    Mach3 2010 Screenset

    JointCAM - CAM for Woodworking Joints

  11. #9
    Quote Originally Posted by Ger21 View Post
    In Aspire or V Carve Pro, you can specify the "home" location, so it goes somewhere else other than 0,0.
    You can also edit the post processor to remove that first move.
    Hi Ger21 I've managed to reset the machine home to near to the work piece so its working OK now, thanks for the advice

    Fiction is far more plausible when wrapped around a thread of truth

    Nothing great was ever achieved without enthusiasm.
    Ralph Waldo Emerson


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Anyone got some 2.5D G-code please ?
    By dudz in forum Programmers Corner
    Replies: 5
    Last Post: 22-06-2013, 11:21 PM
  2. Z safe in g code question
    By Fivetide in forum CAD & CAM Software
    Replies: 7
    Last Post: 20-02-2013, 08:00 PM
  3. Cambium Code Web Tools – Parametric G-code Generation
    By CambiumMachines in forum Manufacturer News
    Replies: 0
    Last Post: 09-01-2013, 04:56 AM
  4. iges or stl to g.code
    By Dan Brown in forum Computer Software
    Replies: 5
    Last Post: 08-01-2010, 11:20 PM
  5. G Code help
    By moose007 in forum Programmers Corner
    Replies: 4
    Last Post: 22-05-2009, 11:39 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •