Writing a .pp - need explaination for error code

More
7 years 7 months ago #128102 by allenwg2005
Not sure this thread belongs here, apologies if that's the case.

I've been working on a PP with ATC for Vetric software, I have a ngc file that loads, when I try and run it I get the following:

"Need tool prepared - Txxx for Toolchange"

What dose this mean? (The tool number is there).

Here is the ngc file I tried to run:

%
( New ) ( File created: Friday March 08 2019 - 10:45 AM)
( for LinuxCNC )
( Material Size) ( X= 6.000, Y= 6.000, Z= 0.750)
G91 (Incremental distance mode)
G17 G20 (Active Plane: XY)(Inch Mode)
G40 G49 G80(Tool Diameter, Length compensation & canned cycles off)
G64 P0.05 Q0.05(Path Blending)
M06 (T1 End Mill 0.25 inch)
G43 H1
G90 (absolute distance mode)
G54 (Coordinate System)
S12000M5
G00 Z0.501

( T1 .250 EM Profile )
G00 X3.000 Y0.875 Z0.500 F104.5
G00 X3.000 Y0.875 Z0.200
G01 Z-0.187 F40.0 M3 G4 P2
G02 X0.875 Y3.000 I0.000 J2.125
G02 X3.000 Y5.125 I2.125 J0.000
G02 X5.125 Y3.000 I0.000 J-2.125
G02 X3.000 Y0.875 I-2.125 J0.000
G01 Z-0.375 F40.0 M3 G4 P2
G02 X0.875 Y3.000 I0.000 J2.125
G02 X3.000 Y5.125 I2.125 J0.000
G02 X5.125 Y3.000 I0.000 J-2.125
G02 X3.000 Y0.875 I-2.125 J0.000
G00 Z0.500
M05
M1 G64 P0.05 Q0.05
M0
M6 (T36 2mm tapered BN)
G43 H36
S12000 M03
( TT36 2mm BN 3D Finish )
G00 X3.123 Y0.885 Z0.500 F104.5
G00 X3.123 Y0.885 Z0.200
G01 X3.123 Y0.885 Z-0.750 F52.3

Any help is appreciated, Thanks

Please Log in to join the conversation.

More
7 years 7 months ago #128104 by MaHa
Because M6 without tool. T1, T36 is inside the comment. Better is M06 T1 (End Mill 0.25 inch)

Please Log in to join the conversation.

More
7 years 7 months ago #128105 by Todd Zuercher
I think your problem is that your tool numbers are enclosed in brackets making them a comment rather than a command.
So for example change line#9 from
M06 (T1 End Mill 0.25 inch)
to
T1 M06 (End Mill 0.25 inch)
Code:
% ( New ) ( File created: Friday March 08 2019 - 10:45 AM) ( for LinuxCNC ) ( Material Size) ( X= 6.000, Y= 6.000, Z= 0.750) G91 (Incremental distance mode) G17 G20 (Active Plane: XY)(Inch Mode) G40 G49 G80(Tool Diameter, Length compensation & canned cycles off) G64 P0.05 Q0.05(Path Blending) T1 M06 (End Mill 0.25 inch) G43 H1 G90 (absolute distance mode) G54 (Coordinate System) S12000M5 G00 Z0.501 ( T1 .250 EM Profile ) G00 X3.000 Y0.875 Z0.500 F104.5 G00 X3.000 Y0.875 Z0.200 G01 Z-0.187 F40.0 M3 G4 P2 G02 X0.875 Y3.000 I0.000 J2.125 G02 X3.000 Y5.125 I2.125 J0.000 G02 X5.125 Y3.000 I0.000 J-2.125 G02 X3.000 Y0.875 I-2.125 J0.000 G01 Z-0.375 F40.0 M3 G4 P2 G02 X0.875 Y3.000 I0.000 J2.125 G02 X3.000 Y5.125 I2.125 J0.000 G02 X5.125 Y3.000 I0.000 J-2.125 G02 X3.000 Y0.875 I-2.125 J0.000 G00 Z0.500 M05 M1 G64 P0.05 Q0.05 M0 T36 M6 (2mm tapered BN) G43 H36 S12000 M03 ( TT36 2mm BN 3D Finish ) G00 X3.123 Y0.885 Z0.500 F104.5 G00 X3.123 Y0.885 Z0.200 G01 X3.123 Y0.885 Z-0.750 F52.3

Please Log in to join the conversation.

More
7 years 7 months ago #128123 by allenwg2005
Thank you I got this working.

Please Log in to join the conversation.

More
7 years 7 months ago #128132 by pl7i92
can you tell the community what system it is and how you did it

as there has not been a Toolchange at all in the first post only a Operation Tool Information

Please Log in to join the conversation.

More
7 years 7 months ago #128163 by allenwg2005
As for system, this is for Vetric Asipre v8.0, running on LinuxCNC 2.7.14 .
How I did it was 'coding, by guess and by golly', I have no idea how to code or exactly how I did it, other than try and fail until it works.
Vetric has a set of instructions on how to add a ATC under the Help tab, if you don't know how to code the following threads might help.

I attached a working PP (at lest it works on my machine) at the end of "Post for Vetric W/ATC:

"Please explain error message"

"Post for Vectric W/ATC"

I hope this helps others

Please Log in to join the conversation.

Time to create page: 0.090 seconds
Powered by Kunena Forum