585,948 active members*
3,699 visitors online*
Register for free
Login
Results 1 to 17 of 17
  1. #1
    Join Date
    Feb 2014
    Posts
    52

    Error from Kmotioncnc

    I get an error from Kmotioncnc during test cutting a part. This is maybe a fault from the cam program. Running with Mastercam x4. Cutting tool is 25 mm dia.

    Attach a pic from screen.

    Attachment 274696

    Any idea as to why i get this. Something set wrong in cam or Kmotioncnc? Hope someone can steer my in the right direction.

    /Lars

  2. #2
    Join Date
    Jun 2013
    Posts
    1041

    Re: Error from Kmotioncnc

    Go to the machine type tab menu in mastercam and select machine definition manager. At the top of the window there is a icon for control definition. Select that. On the left under control topics select arc. Under arc center type change the xy plane to unsigned incremental. Then check out of that screen and hit yes to save. Check out of the next screen and hit yes to save again. Then repost your code and see if that fixes your problem.

    Ben

  3. #3
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    Thank you!

    Have reposted the code and will try again. Fingers crossed.

    /Lars

  4. #4
    Join Date
    Feb 2014
    Posts
    52

    Unhappy Re: Error from Kmotioncnc

    Sorry to say that it did not work... get another error now.

    Attachment 274776

    Attachment 274776

    /Lars

  5. #5
    Join Date
    Jun 2013
    Posts
    1041

    Re: Error from Kmotioncnc

    Sorry it didn't work. I was having the same issue and that's how I fixed it. If you want to post a picture of a few of your screens I'll compare to mine and see if there are any obvious differences. The same screen where you adjusted the arc settings and also the tolerance screen in the same area.

    Ben

  6. #6
    Join Date
    Jun 2013
    Posts
    1041

    Re: Error from Kmotioncnc

    Also what post processor are you selecting? I am using inch not metric but I'll try a similar metric post to yours and see what I can come up with.

    Ben

  7. #7
    Join Date
    Jun 2013
    Posts
    1041

    Re: Error from Kmotioncnc

    I guess a better question then what post is what are you selecting for machine type?

    Ben

  8. #8
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    I have to get back to you on that. Not at the shop now. I think i have picked some standard 4 axs mill vmc. Cannot remember the exact name. I will post some screenshot later today.
    Thank you for your help!

    Im a beginner on all this.

    /Lars

  9. #9
    Join Date
    Dec 2004
    Posts
    132

    Re: Error from Kmotioncnc

    For Mastercam, I use the default router post, and it works perfectly save for some stuff that I have to delete prior to running. The only time I have seen an error like that is when I have tried to run a program from the middle without starting from the beginning.

  10. #10
    Join Date
    May 2006
    Posts
    4045

    Re: Error from Kmotioncnc

    I did the math for the incremental IJ needed for KMotionCNC. The radius is way off. As absolute IJ the Gcode doesn't make sense either.

    Code:
    Start	IJ	Center	End	cent to end
    -53.77	6.406	-47.364	-23.199	24.165
    11.611	24.165	35.776	-6.149	-41.925
    				
    	Radius beg			Radius end
    	24.999681218			48.3906277083
    You might look at the CAM data and determine what it is trying to do. What kind of arc should be generated? Where would be the center? What would the radius be? Then you could probably look at the GCode and see what was wrong. A GCode Arc is pretty simple. The last coordinate is the starting point of the arc. The IJ is where the arc center is relative to the starting point (so add IJ to startxy to get the center). The specified XY coordinate is the end.

    HTH
    Regards
    TK
    http://dynomotion.com

  11. #11
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    Here is some screenshots from the settings pages you wanted.

    Attachment 274854

    Attachment 274856

    The Machine type selected is MILL 4 - AXIS VMC MM and the Postprocessor is Generic Fanuc 4X Mill.

    I have not changed any settings in here except those you mentioned, the Arc one.

    Maybe its the wrong postprocessor?

    /Lars

  12. #12
    Join Date
    May 2006
    Posts
    4045

    Re: Error from Kmotioncnc

    Ah I just noticed changing the sign of J in the GCode (from 24.165 to -24.165) makes the beginning and ending radii equal.

    Is there an "incremental signed" option?

    Regards
    TK
    http://dynomotion.com

  13. #13
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    Hi!

    Yes there is.

    Click image for larger version. 

Name:	Mastercampic3.jpg 
Views:	1 
Size:	61.0 KB 
ID:	274862

    What does all this mean? If there even is a easy way to explain this

  14. #14
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    Well, Signed radius is an option, shown in the Pic

  15. #15
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    I changed Control file to DEFAULT.CONTROL and Post-processor to MPFAN.PST. Now the error has gone away when simulating in KmotionCNC. The machine is at work so I cannot test run it until tomorrow.....

    Hopefully this works!!

    ARC center type now states: Delta start to center, what ever that means

  16. #16
    Join Date
    May 2006
    Posts
    4045

    Re: Error from Kmotioncnc

    Hi Lars,

    Yes I was just about to suggest "Delta start to center". It means exactly that

    (it means that IJ specify how far to go in XY from the arc's starting XY point to get to the XY center of the arc)

    Good chance if it works in simulation it will work on the machine. I'm not sure what other differences are between the two different "posts" so the other option is to go back to the other and make that one change.

    Good Luck
    Regards
    TK
    http://dynomotion.com

  17. #17
    Join Date
    Feb 2014
    Posts
    52

    Re: Error from Kmotioncnc

    Problem solved!

    Using another postprocessor made the trick!

    Thnak you all for givning me the advise!

    /Lars

Similar Threads

  1. xhc for KMotionCNC
    By frate in forum Dynomotion/Kflop/Kanalog
    Replies: 12
    Last Post: 10-13-2017, 12:09 AM
  2. K2 with kmotionCNC "G Code Error GCode Aborted"
    By Dimebag_cnc in forum Dynomotion/Kflop/Kanalog
    Replies: 4
    Last Post: 09-28-2015, 08:59 PM
  3. KmotionCNC 430 Problem
    By Fish4Fun in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 06-26-2013, 10:43 PM
  4. Is anyone using KmotionCNC instead of Mach3?
    By John Coloccia in forum Dynomotion/Kflop/Kanalog
    Replies: 5
    Last Post: 02-22-2013, 08:11 PM
  5. KMotionCNC
    By alexandr_st in forum Dynomotion/Kflop/Kanalog
    Replies: 8
    Last Post: 01-17-2013, 07:11 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •