Hey all, as the title says I'm trying to reset my spindle/feedrate overrides using a snippet of code.
The reason is that I'd like my post processor to reset both of them to 100% when I start a new job. So far after looking through all of the docs I can't see a way that I can reset that variable. Variable #25015 and #25016 are for Feedrate & Spindle override but they are read only.
I tried to setup an IF statement that would read those values, and if either of them aren't equal to 100% a message would pop up along with a pause telling the operator to reset them.
For some reason I can't read those variables properly. As a test I tried a little piece of code that did this:
#100=0
M225 #100 "This is the feedrate override %f" #25015 but I got an error...
Is this not a readable value, or am I doing something wrong? Ultimately I'd like to run a line of code that does this:
IF #25015 != 100 THEN GOTO (like that pops up reminder to reset) ELSE GOTO (start of job)
Reset Feedrate and Spindle override with G/M code?
Moderator: cnckeith