Clearing Variables
Posted: Wed May 05, 2021 3:14 pm
I am making a lot of similar parts with slightly different dimensions. So i made a template program where sizes and dimensions for the code are stored in variables.
So I have a few different programs based on this template - works great.....but
sometimes after moving from one program to the next. The old variable value is still stored and used.
We end the program each time with M30 -
do I need something to clear out the variables ?
using basic like
#10=5.00 (part width)
#15=6.00 (part ht)
and then these are called up in the program for moves very straight forward.
So I have a few different programs based on this template - works great.....but
sometimes after moving from one program to the next. The old variable value is still stored and used.
We end the program each time with M30 -
do I need something to clear out the variables ?
using basic like
#10=5.00 (part width)
#15=6.00 (part ht)
and then these are called up in the program for moves very straight forward.