Just learned how to do basic coding on my new Doosan but cant figure out how to stop the machine after a particular number of pasrts. Lets say 12 for now. I bet the answer will be easy for most. The machine is a Doosan 200, new, Fanuc i-series, I see the screen that allows me to enter part number and total parts in the 'Ofs/set' screen. I also use the G54 code at the end of the program but the machine keeps running. I looked up in the book and it said something about numeric codes(6710-6715) but doesnt say how to enter them. G54 6712? No letter code? Setting the part limit cant be all that hard, someone shed some new light on this? I have to limit the production since I use a bar puller and after the bar is used up, it indexes into the spindle, alarms, you know how it is! Thanks guys!