Error from Kmotioncnc


Results 1 to 17 of 17

Thread: Error from Kmotioncnc

  1. #1
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default 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.

    Error from Kmotioncnc-20150329_215127-jpg

    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

    Similar Threads:


  2. #2
    Member
    Join Date
    Jun 2013
    Location
    USA
    Posts
    1041
    Downloads
    0
    Uploads
    0

    Default 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
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

    Thank you!

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

    /Lars



  4. #4
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Unhappy Re: Error from Kmotioncnc

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

    Error from Kmotioncnc-20150330_070532-jpg

    Error from Kmotioncnc-20150330_070532-jpg

    /Lars



  5. #5
    Member
    Join Date
    Jun 2013
    Location
    USA
    Posts
    1041
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Jun 2013
    Location
    USA
    Posts
    1041
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Jun 2013
    Location
    USA
    Posts
    1041
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

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

    Ben



  8. #8
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default 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
    Member
    Join Date
    Dec 2004
    Location
    USA
    Posts
    132
    Downloads
    0
    Uploads
    0

    Default 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
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default 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

    Regards
    TK http://dynomotion.com


  11. #11
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

    Here is some screenshots from the settings pages you wanted.

    Error from Kmotioncnc-mastercampic1-jpg

    Error from Kmotioncnc-mastercampic2-jpg

    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
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default 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

    Regards
    TK http://dynomotion.com


  13. #13
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

    Hi!

    Yes there is.

    Error from Kmotioncnc-mastercampic3-jpg

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



  14. #14
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

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



  15. #15
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default 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
    Member TomKerekes's Avatar
    Join Date
    May 2006
    Location
    USA
    Posts
    4045
    Downloads
    0
    Uploads
    0

    Default 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

    Regards
    TK http://dynomotion.com


  17. #17
    Registered
    Join Date
    Feb 2014
    Posts
    52
    Downloads
    0
    Uploads
    0

    Default Re: Error from Kmotioncnc

    Problem solved!

    Using another postprocessor made the trick!

    Thnak you all for givning me the advise!

    /Lars



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Error from Kmotioncnc

Error from Kmotioncnc