2291
General Mach Discussion / Re: Any way to ignore spindle speed commands?
« on: May 22, 2015, 02:32:26 AM »
Hi BR549,
thank you, did not think about this.
so the code would be:
If GetDRO(18) <> 2000 then
SetDRO(18,2000)
End if
Thomas
Just a thought, but it may not be a great idea to continously write to the Gcode buffer in that manner ( ten times per sec). Maybe Maybe not (;-)
I would write directly to the DRO and quaulify it so that IF it is already set to 2000 ignore the write.
If (DRO) <> 2000 then
Write to the ( DRO,2000)
End if
thank you, did not think about this.
so the code would be:
If GetDRO(18) <> 2000 then
SetDRO(18,2000)
End if
Thomas