PDA

View Full Version : tool changer mach3



javiele66
10-22-2018, 06:07 PM
Good morning, I just bought a cnc router.
To have the problem is that I want you to make some trajectories with a milling tool first and then change tool automatically and make a 2 path.
Well then after doing the design in aspire postprocess with mach3 / atc. I send it to the CNC and it makes the first trajectories, then it goes and changes the tool and returns to part 0 to start its second trajectories, but at that point it again changes tools and enters a tool change loop, specifically Go back to line 14, can someone tell me what I'm doing wrong?
I have tried to postprocess independent files (copy and paste), I would greatly appreciate your help, I leave you the code generated by vectric aspire., Greetings.

( cambioher )
( File created: Wednesday October 10 2018 - 06:14 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 300.000, Y= 300.000 ,Z= 10.000)
()
(Toolpaths used in this file:)
(Perfilado 1)
(Perfilado 2)
(Tools used in this file: )
(3 = aluminio)
(4 = aluminio2)
N120G00G21G17G90G40G49G80
N130G71G91.1
N140T3M06
N150 (aluminio)
N160G00G43Z20.320H3
N170S10000M03
N180(Toolpath:- Perfilado 1)
N190()
N200G94
N210X0.000Y0.000F3600.0
N220G00X48.846Y163.982Z5.080
N230G1X48.846Y163.982Z-3.000F600.0
N240G1X128.846Y163.982Z-3.000F3600.0
N250G1X128.846Y233.982Z-3.000
N260G1X48.846Y233.982Z-3.000
N270G1X48.846Y163.982Z-3.000
N280G00X48.846Y163.982Z5.080
N290T4M6
N300 (aluminio2)
N310G43H4
N320S10000M03
(Perfilado 2)
()
N350G00X88.846Y229.434Z5.080
N360G1X88.846Y229.434Z-3.000F600.0
N370G3X58.394Y198.982I0.000J-30.452F3600.0
N380G3X88.846Y168.530I30.452J0.000
N390G3X119.298Y198.982I0.000J30.452
N400G3X88.846Y229.434I-30.452J0.000
N410G00X88.846Y229.434Z5.080
N420G00Z20.320
N430G00X0.000Y0.000
N440M09
N450M30
%

PD: I do the simulation in match3 and without problem, but when you do it physically, you do the things described above.
Also say that the machine with command t6 changes tool without problem, it is only when I execute a code g.
atacchment macro m6start. thank you.

ger21
10-22-2018, 06:24 PM
I'm not aware of anything in Mach3 that can cause what you are seeing.

mactec54
10-23-2018, 06:12 PM
Good morning, I just bought a cnc router.
To have the problem is that I want you to make some trajectories with a milling tool first and then change tool automatically and make a 2 path.
Well then after doing the design in aspire postprocess with mach3 / atc. I send it to the CNC and it makes the first trajectories, then it goes and changes the tool and returns to part 0 to start its second trajectories, but at that point it again changes tools and enters a tool change loop, specifically Go back to line 14, can someone tell me what I'm doing wrong?
I have tried to postprocess independent files (copy and paste), I would greatly appreciate your help, I leave you the code generated by vectric aspire., Greetings.

( cambioher )
( File created: Wednesday October 10 2018 - 06:14 PM)
( for Mach2/3 from Vectric )
( Material Size)
( X= 300.000, Y= 300.000 ,Z= 10.000)
()
(Toolpaths used in this file:)
(Perfilado 1)
(Perfilado 2)
(Tools used in this file: )
(3 = aluminio)
(4 = aluminio2)
N120G00G21G17G90G40G49G80
N130G71G91.1
N140T3M06
N150 (aluminio)
N160G00G43Z20.320H3
N170S10000M03
N180(Toolpath:- Perfilado 1)
N190()
N200G94
N210X0.000Y0.000F3600.0
N220G00X48.846Y163.982Z5.080
N230G1X48.846Y163.982Z-3.000F600.0
N240G1X128.846Y163.982Z-3.000F3600.0
N250G1X128.846Y233.982Z-3.000
N260G1X48.846Y233.982Z-3.000
N270G1X48.846Y163.982Z-3.000
N280G00X48.846Y163.982Z5.080
N290T4M6
N300 (aluminio2)
N310G43H4
N320S10000M03
(Perfilado 2)
()
N350G00X88.846Y229.434Z5.080
N360G1X88.846Y229.434Z-3.000F600.0
N370G3X58.394Y198.982I0.000J-30.452F3600.0
N380G3X88.846Y168.530I30.452J0.000
N390G3X119.298Y198.982I0.000J30.452
N400G3X88.846Y229.434I-30.452J0.000
N410G00X88.846Y229.434Z5.080
N420G00Z20.320
N430G00X0.000Y0.000
N440M09
N450M30
%

PD: I do the simulation in match3 and without problem, but when you do it physically, you do the things described above.
Also say that the machine with command t6 changes tool without problem, it is only when I execute a code g.
atacchment macro m6start. thank you.

Why are you using Incremental should be programing in absolute, the postprocessor is poorly done it is putting out very messy code, try and clean it up, get rid of all the unneeded comments and lines of code that are not needed

Are you using a licensed Mach3 software or did it come with the machine from China

javiele66
10-24-2018, 03:48 AM
hello, mach3 is licensed, code g is generated with vectric aspire 9.0, excuse my ignorance but I'm new to cnc, which is incremental and absolute and how is it changed? Thank you

mactec54
10-24-2018, 08:47 AM
hello, mach3 is licensed, code g is generated with vectric aspire 9.0, excuse my ignorance but I'm new to cnc, which is incremental and absolute and how is it changed? Thank you

It appears to be posted as G91 incremental G90 is absolute

This is a simple 2inch square with round corners, you program should look a similar format to this, you can have other code combination's but this is the most basic format you want to have for any 3 axes machine

It is also moving all 3 axes simultaneously as it moves around the corners of the part

%
O3483( 2 inch Square )
N1G17G40G80
T7M6 (.500EndMill)
M8
G54
S2850M3
G90G0X.3026Y-2.31
G43Z.1H7
G1Z0.F20.
G2X.3626Y-2.25I.06F14.
G1X1.8Z-.0031
G3X2.25Y-1.8Z-.0046J.45
G1Y-.2Z-.0081
G3X1.8Y.25Z-.0096I-.45
G1X.2Z-.0131
G3X-.25Y-.2Z-.0146J-.45
G1Y-1.8Z-.0181
G3X.2Y-2.25Z-.0196I.45
G1X.3626Z-.02
X1.8Z-.0231
G3X2.25Y-1.8Z-.0246J.45
G1Y-.2Z-.0281
G3X1.8Y.25Z-.0296I-.45
G1X.2Z-.0331
G3X-.25Y-.2Z-.0346J-.45
G1Y-1.8Z-.0381
G3X.2Y-2.25Z-.0396I.45
G1X.3626Z-.04
X1.8Z-.0431
G3X2.25Y-1.8Z-.0446J.45
G1Y-.2Z-.0481
G3X1.8Y.25Z-.0496I-.45
G1X.2Z-.0531
G3X-.25Y-.2Z-.0546J-.45
G1Y-1.8Z-.0581
G3X.2Y-2.25Z-.0596I.45
G1X.3626Z-.06
X1.8Z-.0631
G3X2.25Y-1.8Z-.0646J.45
G1Y-.2Z-.0681
G3X1.8Y.25Z-.0696I-.45
G1X.2Z-.0731
G3X-.25Y-.2Z-.0746J-.45
G1Y-1.8Z-.0781
G3X.2Y-2.25Z-.0796I.45
G1X.3626Z-.08
X1.8Z-.0831
G3X2.25Y-1.8Z-.0846J.45
G1Y-.2Z-.0881
G3X1.8Y.25Z-.0896I-.45
G1X.2Z-.0931
G3X-.25Y-.2Z-.0946J-.45
G1Y-1.8Z-.0981
G3X.2Y-2.25Z-.0996I.45
G1X.3626Z-.1
X1.8
G3X2.25Y-1.8J.45
G1Y-.2
G3X1.8Y.25I-.45
G1X.2
G3X-.25Y-.2J-.45
G1Y-1.8
G3X.2Y-2.25I.45
G1X.3626
G2X.4226Y-2.31J-.06
G0Z3.
M9
G53Y0.
M5
M30
%

javiele66
10-26-2018, 10:19 AM
hello, Do you think that can be that? how do I solve it? thank you.

javiele66
11-06-2018, 03:52 AM
I need help, someone helps me, thanks.