
12042015 #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 X27.650 Y78.650 Z3.000
N110 G01 Z3.000 F1200.0
N120 G01 X25.350 F3600.0
N130 G01 Y25.350
N140 G01 X27.650
N150 G01 Y78.650
N160 G01 X30.050 Y81.050
N170 G01 X22.950
N180 G01 Y22.950
N190 G01 X30.050
N200 G01 Y81.050
N210 G01 X32.450 Y83.450
N220 G01 X20.550
N230 G01 Y20.550
N240 G01 X32.450
N250 G01 Y83.450
N260 G01 X34.850 Y85.850
N270 G01 X18.150
N280 G01 Y18.150
N290 G01 X34.850
N300 G01 Y85.850
N310 G01 X37.250 Y88.250
N320 G01 X15.750
N330 G01 Y15.750
N340 G01 X37.250
N350 G01 Y88.250
N360 G01 X39.650 Y90.650
N370 G01 X13.350
N380 G01 Y13.350
N390 G01 X39.650
N400 G01 Y90.650
N410 G01 X42.050 Y93.050
N420 G01 X10.950
N430 G01 Y10.950
N440 G01 X42.050
N450 G01 Y93.050
N460 G01 X44.450 Y95.450
N470 G01 X8.550
N480 G01 Y8.550
N490 G01 X44.450
N500 G01 Y95.450
N510 G01 X46.850 Y97.850
N520 G01 X6.150
N530 G01 Y6.150
N540 G01 X46.850
N550 G01 Y97.850
N560 G01 X49.250 Y100.250
N570 G01 X3.750
N580 G01 Y3.750
N590 G01 X49.250
N600 G01 Y100.250
N610 G00 Z3.000
N620 G00 Z3.000
N630 S12000 M03
N640 G00 X26.750 Y50.050 Z3.000
N650 G01 Z6.250 F1200.0
N660 G03 X26.450 Y49.750 I0.000 J0.300 F3600.0
N670 G03 X26.750 Y49.450 I0.300 J0.000
N680 G03 X27.050 Y49.750 I0.000 J0.300
N690 G03 X26.750 Y50.050 I0.300 J0.000
N700 G01 Y52.450
N710 G03 X24.050 Y49.750 I0.000 J2.700
N720 G03 X26.750 Y47.050 I2.700 J0.000
N730 G03 X29.450 Y49.750 I0.000 J2.700
N740 G03 X26.750 Y52.450 I2.700 J0.000
N750 G01 Y54.850
N760 G03 X21.650 Y49.750 I0.000 J5.100
N770 G03 X26.750 Y44.650 I5.100 J0.000
N780 G03 X31.850 Y49.750 I0.000 J5.100
N790 G03 X26.750 Y54.850 I5.100 J0.000
N800 G01 Y57.250
N810 G03 X19.250 Y49.750 I0.000 J7.500
N820 G03 X26.750 Y42.250 I7.500 J0.000
N830 G03 X34.250 Y49.750 I0.000 J7.500
N840 G03 X26.750 Y57.250 I7.500 J0.000
N850 G00 Z3.000
N860 G00 Y50.050
N870 G01 Z9.500 F1200.0
N880 G03 X26.450 Y49.750 I0.000 J0.300 F3600.0
N890 G03 X26.750 Y49.450 I0.300 J0.000
N900 G03 X27.050 Y49.750 I0.000 J0.300
N910 G03 X26.750 Y50.050 I0.300 J0.000
N920 G01 Y52.450
N930 G03 X24.050 Y49.750 I0.000 J2.700
N940 G03 X26.750 Y47.050 I2.700 J0.000
N950 G03 X29.450 Y49.750 I0.000 J2.700
N960 G03 X26.750 Y52.450 I2.700 J0.000
N970 G01 Y54.850
N980 G03 X21.650 Y49.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

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

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

N90 X0.000 Y0.000 F3600.0
N100 G00 X27.650 Y78.650 Z3.000
N110 G01 Z3.000 F1200.0
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

12042015 #4
Ahh I get it now thanks for that.. so if I set my machine home to frontleft 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

12042015 #5
Last edited by Fivetide; 12042015 at 10:00 PM.
Fiction is far more plausible when wrapped around a thread of truth
Nothing great was ever achieved without enthusiasm.
Ralph Waldo Emerson

I would just take out the x and y zero

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

12042015 #7

13042015 #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
______________________________________________
Mach3 2010 Screenset
JointCAM  CAM for Woodworking Joints

13042015 #9
Similar Threads

Anyone got some 2.5D Gcode please ?
By dudz in forum Programmers CornerReplies: 5Last Post: 22062013, 10:21 PM 
Z safe in g code question
By Fivetide in forum CAD & CAM SoftwareReplies: 7Last Post: 20022013, 07:00 PM 
Cambium Code Web Tools – Parametric Gcode Generation
By CambiumMachines in forum Manufacturer NewsReplies: 0Last Post: 09012013, 03:56 AM 
iges or stl to g.code
By Dan Brown in forum Computer SoftwareReplies: 5Last Post: 08012010, 10:20 PM 
G Code help
By moose007 in forum Programmers CornerReplies: 4Last Post: 22052009, 10:39 AM
Bookmarks