Page 1 of 1

Clearing Variables

PostPosted: Wed May 05, 2021 3:14 pm
by n3plastix@gmail.com
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.

Re: Clearing Variables

PostPosted: Wed May 05, 2021 3:36 pm
by ger21
Set them all to 0 at either the end or beginning?