Hello Guest it is March 29, 2024, 01:22:44 AM

Author Topic: Error free  (Read 3665 times)

0 Members and 1 Guest are viewing this topic.

Error free
« on: August 27, 2013, 06:09:08 PM »
I designed my first cad /cam program and simulated it in mach. How do I know if it is error free and ready to run. ? Its very small 7 holes 4 for the stepper 2 for the mounts to the mill and one for the lead screw. I would love it if some one looked at it with my gdcode file.
As far as errors this what was in the history when it was simulated.
Hows it look
Tue - 18:00:57 ---Initialisation
Tue - 18:00:57 ---Outil n° 1 - Diametre 0.25 D1 H1    <- whats this mean
Tue - 18:00:58 ---P-contour
Tue - 18:01:18 ---P-contour1
Tue - 18:01:42 ---P-contour2
Tue - 18:02:03 ---D-drill

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Error free
« Reply #1 on: August 28, 2013, 03:31:28 AM »
Seems to be ok except whatever produced the code is doing arcs in hundreds of straight lines and thus code is huge, where using G2 or G3's would make things much nicer and likely make the machine run better..
Here is what Mach sees as the toolpath.
Hood
« Last Edit: August 28, 2013, 03:33:22 AM by Hood »
Re: Error free
« Reply #2 on: August 28, 2013, 05:53:34 PM »
I used solidworks with solid cam.
I  know the code is huge its because it is taking very small cuts and passes very very small. I never ran this machine or cnc before . I want to get warmed up before I start taking deep cuts and going quickly. So in my cam options thats how I designed it.
I dosent show the 4 holes for the stepper motor? but it mentions them in the program when its running is that ok?
Hood thank you for looking at this for me it makes me feel better .
Thanks
Mark

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Error free
« Reply #3 on: August 28, 2013, 06:42:22 PM »
It does show the 4 holes, that  is the blue lines, I am presuming they are drill holes rather than milled circles?

Regarding the code, it is the way the circles are done, they are using  G1's rather than G2's and thus each complete circle in your code is made up of hundreds of short moves rather than just a single G2.
That is likely a function of your post processor in that it is outputting straight lines instead of arcs.
Hood
Re: Error free
« Reply #4 on: August 28, 2013, 08:36:29 PM »
forgive me if I sound naive and like I dont know what im talking bout but it is because I dont.
When I set up the cam operation I chose a drilling G83 peck operation with an end mill . The holes are the same size of the end mill that I used through out the hole operation so I seen no point in changing it up for the last drilling operation.
Im waiting on a set of er16 collets to get here to run the program.

How did you get that screen shot of the cam operation?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Error free
« Reply #5 on: August 29, 2013, 05:36:47 AM »
The mill will be the same size but it is just moving down on Z so the toolpath in Mach will just show a straight line and thus you only see that straight line.

I opened your code in Mach then zoomed in on the toolpath and rotated it.
If I recall you have moves to machine zero( or similar) at the start and end of the code thus the toolpath view is tiny as the complete code area is big compared to the actual cutting, hence the need to zoom in.

Hood
Re: Error free
« Reply #6 on: August 29, 2013, 10:52:31 AM »
Ya I really dont understand why when I load the gcode the picture is very small. What can I do to change that?

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: Error free
« Reply #7 on: August 29, 2013, 11:05:25 AM »
Your code has the following lines at the start

N10 G0 G53 Z0 (Retour aux origines machine)
N15 G0 G53 X0 Y0

and at the end

N61145 G0 G53 Z0 M9
N61150 G0 G53 X0 Y0 M5

What these lines of code are saying is move to machine coordinates zero for Z then X and Y, that is usually the furthest negative of X and Y and furthest positive of Z.
If your machine is large and your work offset (when you press Zero at side of DRO to say where you want to start) is far away from the  machine zero then the actual part will show very small as the full travel of everything in the code is taking up a large area.

Hood