Page 1 of 1
Mach3 Turn-w/Calypso - ERROR:M6Start unexpected ERROR TRAP!
Posted: Sun Aug 16, 2020 8:20 am
by CNC-Joe
ERROR:M6Start unexpected ERROR TRAP!
I'm working on my DM3000 Lathe with Calypso screensets - Mach3.
- I sort of randomly get a "ERROR:M6Start unexpected ERROR TRAP!" error.
- Does anyone have any ideas where to start looking to debug why this is getting an error trap?
Thanks for any help,
Joe
Re: Mach3 Turn-w/Calypso - ERROR:M6Start unexpected ERROR TR
Posted: Tue Aug 25, 2020 10:46 pm
by DaveCVI
Hi,
All the MSM M6 handling routines have code that is called if an unexpected fault is detected by the Basic interpreter which mach uses to run scripts. The error handling code causes an estop condition. The theory is that stopping is better than continuing when something (which is unknown) has caused an error.
Because this is the detection of an unexpected error, it, by definition, has not other error info to offer to help give a clue as to what happened.
I have a couple of questions which might help narrow this down -
1) you say this happens "randomly". That is very unusual. Is there any pattern you can think of which would math when this happens? Doing some particular operation maybe?
2) what tool change mode do you have mach set for? ignore tool change? stop & Wait? auto tool changer?
3) Does you installation invoke any user written code as part of M6 handling? Are you using any of teh MSM extension hooks which can call user code as part of M6 handling?
Dave