11-20-2015 05:46 AM
11-20-2015 08:02 AM
AFTER M30 you can only use the "Reset" button in the simulation panel and start over with play.
Due to the fact I assume this is not what you asking I suggest you add code right before the M30 e.g. jump to a label defined at the beginning of the NC Code file.
As far as I know also on real machine tools M30 stops the machine to an end.
11-20-2015 08:16 AM
In my case for SWISS TYPE machine M30 is:
Cursor return here is REWIND to first line.
11-20-2015 09:21 AM
Thomas -
Most machine I am familiar with (Fanuc, Mazak, Okuma) also use:
M2 = program end (I never actually use this, but I would assume the operator would have to do something to get back to the beginning of the program before they can hit "start" for the next piece)
M30 = rewind (i.e. on control all I have to do is hit the "start" button and it will start from the beginning)
I'm not sure if I (personally) would want anything handled differently between them in IS&V, but that is how they are defined on the machine.
Production: NX10.0.3.5 MP16/TC11.2
I'd rather be e-steamed than e-diseaseled
11-20-2015 09:36 AM
What is your requirement use case, when you press play and the simulation reaches M30?
* Should the simulation stop?
* You like to get back to the first NC code line and simulation stops or continue all over?
* What about IPW status?
* What about mounted objects like tools and workpieces
The status at the end differs from initial start?
11-20-2015 10:28 AM
Just GOTO first line - I thinking about it like call for M30 main programm as subprogramm..
This is a swiss type cnc, and I want to simulate few part production/
11-26-2015 06:00 AM
Doesn't M99 cause rewind and restart when used in a main program?
George
11-26-2015 06:17 AM
I try M99 - no results.
Just now I see only one way - ignore M30 and insert after M30 exact copy of programm - at least I can close loop for SWIZZ TYPE machine.