CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Oct 17, 2017 2:53 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Sep 30, 2016 2:22 pm 
Offline

Joined: Mon Nov 01, 2010 4:30 pm
Posts: 52
Hi,

I have a CNC program (attached) created with DXF import. It works fine.
But if I add a pair of G52(round path) - G50(end of round path) commands to it and try to save it (Write CNC program to file), Codesys 2.3 displays the following message

---------------------------
Error during interpolation
---------------------------
The program causes the following error while interpolating:
Too many recursions in the interpolator
Cancel Saving?
---------------------------
Yes No
---------------------------

Then if I execute the CNC program, it is processed OK - angles are rounded, drives follow the path, everything looks fine....... but M-commands are not executed.
If I remove the G52 / G50 commands, everything goes back to normal and M-commands are processed.

Any idea why this happens? Are the PLC resources insufficient to handle the path with roundings?
And more important, is there any way to handle this?

Thanks for any suggestions.

--
I use Codesys 2.3.9.42 provided by Festo, with Festo PLC CPX-CEC-M1


You do not have the required permissions to view the files attached to this post.


Top
   
PostPosted: Fri Sep 30, 2016 8:01 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
it makes to many calcs, lower the precision

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Sun Oct 02, 2016 6:58 pm 
Offline

Joined: Mon Nov 01, 2010 4:30 pm
Posts: 52
thank you for the reply, but how do you modify precision?
Do you mean the Extras / Set epsilon values... menu, or something else?


Top
   
PostPosted: Mon Oct 03, 2016 8:30 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 978
you will need to have a balance between precision and result.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
PostPosted: Wed Oct 05, 2016 8:06 am 
Offline

Joined: Mon Nov 01, 2010 4:30 pm
Posts: 52
OK, thanks.
But how do you change precision?


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited