What's new
What's new

Serial Number does not advance

Joined
Aug 31, 2012
Location
new york usa
I am trying to engrave a 3 digit serial # starting at 170.It will engrave the first serial # only.My g47 looks like this.
G00 G90 G54 X0.Y0.Z.050
G47 P1 (170) X0.Y0. I0 J.180 Z-.005 R.2 F10. E4.
G47 P1 (###) I0 J.180 Z-.005 R.2 F10 E.4
G90X0.Y0.Z.050
M30
The counter is supposed to advance after the G47 but it does not happen cant figure why.
 
Why 2 threads?

My first problem in my first thread has been resolved partly.I could not get any engraving to run ,I would get an x overtravel alarm it turned out to be a problem with engraving macro.I can engrave,but it will not advance serial # by one each time I run program I am a nubie to a Haas and cnc for the most part.Thanks for any help.
 
The reason it won't advance is because your program keeps calling 170.

Set macro 599 to 170 by doing this (you can do this in MDI real quick)
#599=170


then only have the single G47 line with the (###) in it - don't have another G47 line with (170) in it.
 
NO! Just use single line. (run it then delete it) Otherwise you will reset it to 170 every time you run it. The G47 P1 will use #599 to start and each subsequent run will add one to the number.

are you using MDI to program? I only use it for quickie little tasks not actual part programs. Even a simple engrave program I would just have a real O#### program.
 








 
Back
Top