Quantcast
Channel: CNCzone.com- Largest Forums for CNC Professional and Hobbyist alike!
Viewing all articles
Browse latest Browse all 72891

tip changing macro call

$
0
0
hi
I am interested in using macros to count number of parts per tip on a lathe and when the required number is reached displaying a message on the screen for the operator to change the tip. this is what i have so far from an old manual from years ago
09001
#502=#502+1
if[#502ge40]GOTO900
n900#502=0
g28 uo w0
t0800
#3000=1(change cnmg tip in tool 7)
my questions are do i have to use the pgm numbers 09001- ?
the 09001-03 program is called up by m200,m201 and i understand these values have to be assigned in the parameters?
would the #3000 call be control specific to display the message?
is there a simpler way to do this?
any help would be appreciated

Viewing all articles
Browse latest Browse all 72891

Trending Articles