Manual tool change + tool lengh touch off

More
12 years 3 months ago #49159 by library
Thanks, it works perfectly now. It's very cool to only have to touch off once and then have it automatic from then on.

Please Log in or Create an account to join the conversation.

More
12 years 3 months ago #49363 by billykid
Thanks Orangecat ! very good !

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #69917 by jut
Orangecat, excellent work, thank you very much! It work's perfectly on my machine.

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #77066 by hancock
Hello,

a huge thanks to Orangecat for the script - I was looking forever for something like this.

I only have the problem that it doesn't behave within a .ngc-file like it does when I use it with only MDI.

Maybe someone has an idea, as I have tried everything and just can't get it right. It either mills in the air or rams into the workpiece...

So this is my procedure:
1. Insert the first tool of the job-file
2. Touch the tool of on top of the workpiece to set Z0
3. Load the job-ngc-file
4. Hit M600
5. Start the job-file
6. Within the job.file I have a M6 command so it ask to insert the tool (already inserted and touched off the workpiece)
7. The job-file M6 command triggers the touch off
8. Milling is correct
9. Next M6 command within the job-file
10. Z-height is wrong - either milling in the air or way below the original Z0

This is a file I used for example
Code:
% (VOLLPLATINE) (T1 D=1. CR=0. - ZMIN=-0.1 - SCHAFTFRSER) (T17 D=1. CR=0. - ZMIN=-0.2 - SCHAFTFRSER) N10 G90 G94 G17 G91.1 N15 G21 N20 G53 G0 Z0. (2D-TASCHE1) N25 M9 N30 T1 M6 N35 S42000 M3 N40 G54 N45 M9 N55 G0 X2.379 Y11.374 N60 G43 Z15. H1 N65 G0 Z5. N70 G1 Z2.5 F150. N75 Z0. ... N235 X8.568 Y11.35 Z-0.05 I-0.076 J-0.065 N240 G1 X8.56 Y11.356 Z-0.026 N245 X8.558 Y11.358 Z0. N250 G0 Z15. N260 M5 N265 G53 Z0. (2D-TASCHE2) N270 M9 N275 M1 N280 T17 M6 N285 S42000 M3 N290 M9 N300 G0 X2.379 Y11.374 ... %

Is there anything wrong with the .ngc-file that needs to be changed (post-processor) or is my order of touching off, etc. wrong?
Your help is truly appreciated!!!

Thanks & regards,
Hancock

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago #77067 by orangecat
Hi Hancock,
Does the next M6 command, prompt for the new tool, pause, and then do a touch-off?

Please Log in or Create an account to join the conversation.

More
10 years 3 months ago - 10 years 3 months ago #77068 by orangecat
Actually reading this, something isn't right. Perhaps the sequence for M600 is wrong. I always issue M600 in the MDI before loading the file and running it. At the first M6, it should not pause and prompt for a tool change. If it does, that's because M600 did not work as the first M6 after M600 should only do a touch-off without a tool change pause/prompt.
Last edit: 10 years 3 months ago by orangecat.

Please Log in or Create an account to join the conversation.

Time to create page: 0.322 seconds
Powered by Kunena Forum