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
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