CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

What 'Too many recursions in the interpolator' error message means?
https://forum.codesys.com/viewtopic.php?f=2&t=7243
Page 1 of 1

Author:  pnn [ Fri Sep 30, 2016 2:22 pm ]
Post subject:  What 'Too many recursions in the interpolator' error message means?

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

Author:  shooter [ Fri Sep 30, 2016 8:01 pm ]
Post subject:  Re: What 'Too many recursions in the interpolator' error message means?

it makes to many calcs, lower the precision

Author:  pnn [ Sun Oct 02, 2016 6:58 pm ]
Post subject:  Re: What 'Too many recursions in the interpolator' error message means?

thank you for the reply, but how do you modify precision?
Do you mean the Extras / Set epsilon values... menu, or something else?

Author:  shooter [ Mon Oct 03, 2016 8:30 pm ]
Post subject:  Re: What 'Too many recursions in the interpolator' error message means?

you will need to have a balance between precision and result.

Author:  pnn [ Wed Oct 05, 2016 8:06 am ]
Post subject:  Re: What 'Too many recursions in the interpolator' error message means?

OK, thanks.
But how do you change precision?

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/