I face a problem with spindle speed as following:
I have made a macro "M900" in the middle of a program, which includes:
If GetOemLed(164) then
DoOemButton(110)
End If
which means, if the CW rotation LED is active, switch off spindle.
The spindle is switched OFF, but the Oem 164 LED is still ON.
It goes OFF only at the end of the program when "Turn OFF spindle" under "General config" is selected.
My problem is that i want to start and stop it during the program flow,
by reading the 164 Oem LED.
Exaclty the same happens if i read the OemLed(11) instead of (164).
Do you have any ideas?
Thanks,
giannis