Mill plunges into work piece at start

More
20 Jul 2016 18:55 #77732 by JimS
Total newbie trying to get started with a desktop mill. I set the spindle safely above the table for testing so it doesn't actually crash into the work or table but if would otherwise. File from Fusion 360 is below. LinuxCNC asks for tool 1, then plunges into what would be the table. When it gets to the first location it raises to 0.6 then pecks the holes as expected. At the end it plunges into the work again.

I set home for x and y as the center of the piece and home for Z above the part. Then touch off X and Y as the same and Z as slightly lower (to simulate the top of the part). What am I doing wrong?

%
(DIESETMILLING1)
(T1 D=0.125 CR=0. TAPER=45DEG - ZMIN=0. - CHAMFER MILL)
N10 G90 G94 G17 G91.1
N15 G20
N20 G53 G0 Z0.
(DRILL3)
N25 M9
N30 T1 M6
N35 S5000 M3
N40 G54
N45 M8
N55 G0 X-2.5 Y-1.5
N60 G43 Z0.6 H1
N70 G0 Z0.2
N75 G98 G81 X-2.5 Y-1.5 Z0. R0.2 F13.123
N80 Y1.5
N85 X2.5
N90 Y-1.5
N95 G80
N100 G0 Z0.6
N110 M9
N115 G53 Z0.
N120 M30
%

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

More
20 Jul 2016 19:22 #77733 by BigJohnT
You can tell Fusion to not use line numbers they only clutter up the G code and make it hard to read, LinuxCNC ignores them.

Be sure you read this and understand what % does not do. I see you have M30 which is end program and exchange pallet, usually you have M2 and if you have a M2 or M30 you do not use %.

The file changes coordinate system to G54 then does a rapid move then applies the tool offset and that is the problem. Much better to do T1 M6 G43 on one line.

JT

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

More
20 Jul 2016 21:41 - 20 Jul 2016 21:45 #77738 by JimS
I used the linuxCNC post processor within Fusion 360 so I am a bit confused on why or how I make those changes in the output other than manually editing the file for each project... I haven't edited the output in any way and didn't think I needed to.
Last edit: 20 Jul 2016 21:45 by JimS.

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

More
20 Jul 2016 21:54 #77739 by BigJohnT
You would need to change the post processor to output what you need. I know nothing about fusion 360 or where you get it, got a link to it?

JT

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

More
20 Jul 2016 22:03 #77741 by JimS
It's an AutoCad product. Free for companies under $100k. The link is:
www.autodesk.com/Fusion360
You start with the trial and at the end of trial period (a month as I recall) they ask you to register.

Forum is here:
forums.autodesk.com/t5/fusion-360/ct-p/1234

I will post my question there also and see what their users say...

Thanks!

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

More
20 Jul 2016 22:42 #77742 by BigJohnT
Thanks for the link but cloud based is a deal breaker for me.

JT

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

More
20 Jul 2016 22:46 - 20 Jul 2016 22:50 #77743 by BigJohnT
I'm confused at this point it runs as expected in a sim, did you set up a tool change location?

JT
Last edit: 20 Jul 2016 22:50 by BigJohnT.

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

More
20 Jul 2016 22:48 #77744 by andypugh
I think that the problem might be the G43 and that there is an offset in the tool table.

If you do a T1 M6 G43 before you do your setup process what happens?

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

More
20 Jul 2016 22:51 - 20 Jul 2016 22:53 #77745 by BigJohnT

I think that the problem might be the G43 and that there is an offset in the tool table.

If you do a T1 M6 G43 before you do your setup process what happens?


I can reproduce that in the Axis sim by putting a 2" Z offset in tool 1.

Edit: I find it strange that f360 does not move to a safe Z before the lateral move and that it does not provide a good preamble.

JT
Last edit: 20 Jul 2016 22:53 by BigJohnT.

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

More
21 Jul 2016 13:45 #77774 by JimS
There was a existing tool offset for tool 1 that apparently is an example from the initial install of LinuxCNC. I made it zero. But the main issue was my setup of the axis in stepconf. Not knowing any better I setup all axis with plus and minus travel with zero in the center. I just changed Z so zero is at the uppermost travel (farthest from table). It now operates as expected. Thanks for the help!

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

Time to create page: 0.078 seconds
Powered by Kunena Forum