Go to Post Go figure that by teaching you end up learning a lot through the process. ;) - Josh Fox [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 13-11-2015, 21:04
Raymundo N Raymundo N is offline
Registered User
FRC #0842
 
Join Date: Apr 2013
Location: Mexico
Posts: 5
Raymundo N is an unknown quantity at this point
Question NEED HELP! CNC Software Problem

Hello everyone,

I am a student at Carl Hayden High School and i am part of the robotics team. We recently bought a new CNC tabletop mill
(Here is the link to the exact mill we have: http://www.cncmasters.com/product/cn...ble-top-mill/).

We got it all set up and we got the MasterMX software working. We also got a free CAM software from SolidCAM, which was compatible with SolidWorks, so we started doing some tutorials and then we wanted to machine the actual part.
(Here is the tutorial of the part i tried to machine: https://www.youtube.com/watch?v=4y1X...q9c b6HO-J8EA)

I modified the piece and changed the units from metric to standard(inches). Then i followed the steps to make my cam software. At the end i generated the code, copied it and pasted it into the MasterMX software, then i clicked the DRAW button to see a visual of what the machine was going to follow, and that is when a weird thing happened. On the CAM software the simulation worked perfectly, but on the MasterMX software it was different. Instead of starting the "contour cut" outside and making a straight line it would make a diagonal line to a different point and then kept going and finished the shape in the correct way.
If you are confused about what i am talking about, i have some pictures:

The first picture shows what i want to make (This is in SolidWorks).
and
The second picture shows what it looked like in the MasterMX software.

The program starts at the right place, but it doesn't follow a straight path to go to the right place to make the round cut. Instead it looks as if it skipped the curve completely and started working at the end of the curve. Any idea why??




Also you may notice that the corner holes are not drawn on the second picture. That is because every time i added the code for the holes it would crash the MasterMX program completely.

The last image shows the code that made the program crash on the left side.


Any help will be appreciated. Thank you.
Attached Thumbnails
Click image for larger version

Name:	Code that crashed the program.png
Views:	62
Size:	303.3 KB
ID:	19441  Click image for larger version

Name:	What the MasterMx Software showed.png
Views:	89
Size:	373.1 KB
ID:	19440  Click image for larger version

Name:	What i wanted.png
Views:	121
Size:	384.5 KB
ID:	19439  
  #2   Spotlight this post!  
Unread 13-11-2015, 21:30
Cory's Avatar
Cory Cory is offline
Registered User
AKA: Cory McBride
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: May 2002
Rookie Year: 2001
Location: Redwood City, CA
Posts: 6,795
Cory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond reputeCory has a reputation beyond repute
Send a message via AIM to Cory
Re: NEED HELP! CNC Software Problem

It's hard to see exactly what is going on, but the most likely culprit is that SolidCAM doesn't know how your machine handles rapid moves and isn't showing you that a rapid move is taking place via both axes at the same time while re-positioning.
__________________
2001-2004: Team 100
2006-Present: Team 254
  #3   Spotlight this post!  
Unread 13-11-2015, 21:50
Derek Bessette's Avatar Unsung FIRST Hero
Derek Bessette Derek Bessette is offline
Registered User
FRC #4976 (Rebels)
Team Role: Engineer
 
Join Date: Oct 2004
Rookie Year: 2003
Location: Milton, Ontario, Canada
Posts: 90
Derek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond reputeDerek Bessette has a reputation beyond repute
Re: NEED HELP! CNC Software Problem

I would be to make sure you are using the correct SolidCAM post processor for your machine.
__________________
Derek Bessette
Team 4976 - GDHS Rebels
(Formerly Team 1114 and 3571)
  #4   Spotlight this post!  
Unread 14-11-2015, 05:03
Doug G's Avatar
Doug G Doug G is offline
Coach / Teacher
FRC #0701 (Robovikes)
Team Role: Coach
 
Join Date: Dec 2002
Rookie Year: 2001
Location: Fairfield, CA
Posts: 876
Doug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond reputeDoug G has a reputation beyond repute
Re: NEED HELP! CNC Software Problem

We use that same machine on our team and the post-processor is most likely the problem. Have you tried the new AutoDesk Inventor with HSM for 2016? AutoDesk sent me a post for the CNCMasters machine and it works well so far. AutoDesk products are free for students and teams, you may want to try it.
__________________
Work Hard, Have Fun, Make a Difference!

  #5   Spotlight this post!  
Unread 14-11-2015, 06:08
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: NEED HELP! CNC Software Problem

Quote:
Originally Posted by Doug G View Post
We use that same machine on our team and the post-processor is most likely the problem. Have you tried the new AutoDesk Inventor with HSM for 2016? AutoDesk sent me a post for the CNCMasters machine and it works well so far. AutoDesk products are free for students and teams, you may want to try it.
The OP would be able to use the post you received from Autodesk if he uses HSMWorks or HSMXpress in Solidworks because that's what Inventor uses for CAM. That way he won't have to switch CAD software.

HSMXpress is the lite version of HSMWorks, but still very powerful. There's really no need to get HSMWorks unless you want to do 3D operations. HSMXpress is free for anyone who has a Solidworks license. HSMWorks isn't free but you can get a free copy by requesting a sponsorship (just like Solidworks).
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

  #6   Spotlight this post!  
Unread 14-11-2015, 07:04
SndMndBdy SndMndBdy is offline
Registered User
FRC #3419
 
Join Date: Jan 2013
Location: New York
Posts: 18
SndMndBdy is on a distinguished road
Re: NEED HELP! CNC Software Problem

My team uses InventorCAM (the Inventor version of SolidCAM) and Mach3 as the controller (similar to MasterMX) and when we first started, we had a very similar problem. The issue was the post processor, as as some other people have suggested. If you call SolidCAM support, you can explain to them your setup and they should be able to provide you with the correct post processor.

For those who don't know, the post processor is part of the CAM software that generates GCode specific to the CNC machine/controller that you are using. While GCode is supposed to be standard (interpreted the same by everyone) it definitely is not and there are idiosyncrasies between setups.

I suspect that in your case, the default post processor is adding in some extra code at the start or end of your program that's not being interpreted correctly by MasterMX. This might be for something like an automated tool change, etc., which your machine might not support.

In our case when we got the correct post processor it solved most of these problems, but I actually still had to tweak the post processor a bit myself. This is a complicated task - the post processor is like a programming language which may be hard to understand / modify unless you are a seasoned programmer. If you get to this stage and are still having trouble, feel free to post here and I can try to help.

The other thing to look at is the settings in MasterMX. There might be some options in here about how to interpret Gcode. I remember in our case there was a setting about how G02 was supposed to work (with regards to R address or IJK addresses), but I don't recall exactly what that was.
  #7   Spotlight this post!  
Unread 16-11-2015, 11:33
Aboudy Dairi's Avatar
Aboudy Dairi Aboudy Dairi is offline
Wait, people DO read these?
AKA: Co-host of the Jake & Aboudy Show
FRC #1768 (RoboChiefs)
Team Role: Mechanical
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Bolton
Posts: 11
Aboudy Dairi is on a distinguished road
Re: NEED HELP! CNC Software Problem

Hi, my school has acquired the same mill, and I had a similar problem to you, except I had a complete lack of a post processor. Shoot these guys an email: cam.posts@autodesk.com they got me a post that I've had no problems with. I use fusion 360 for CAM, so the post they give you should work just fine. The master software doesn't really have any options for interpreting g-code, they stick by a strict selection of g-codes that makes it impossible for a generic fanuc post processor to be interpreted properly. Anyways, I got a reply from autodesk in a few days, and they're happy to make edits.

Last edited by Aboudy Dairi : 16-11-2015 at 11:52.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:03.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi