VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2017-03-30 19:29:05

fieldsjj
Member
From: Middletown, CT 06457
Registered: 2014-10-30
Posts: 2

Siemens 840d - "Error: Exceeded maximum subroutine nesting level"

I received this with a program I am trying to rest.  I use EXTCALL for many of my subroutines but this came up with a program that the machine tool vendor put in the control
since it runs all the time it is functional but I can't find anyway to change the nesting level limit
does anyone know?

Offline

#2 2017-04-03 10:48:20

Lesley M
Member
From: Belgium
Registered: 2009-09-02
Posts: 23
Website

Re: Siemens 840d - "Error: Exceeded maximum subroutine nesting level"

Hello,

I had the same problem with a FANUC controller recently.
It turned out that some subprograms had a missing M99 (end of subprogram).
After adding the missing M99's it was ok.
Actually the max number of nesting levels is the same in VERICUT as on the real machine.
So this check is usefull.

Maybe you have an analog situation your 840D: missing M17 or RET?

Kind regards,
Lesley


Lesley Morsink
ASCO Industries

TDM 2017 - CATIA V5 - ICAM CAM-POST- MACHpro - VERICUT 8.0.4

Offline

Board footer