Can somebody please point me to where I can read about how Gmoccapy operates the spindle. Specifically, how does it take into account the Spindle Starting RPM in Settings (or the parameter [DISPLAY] DEFAULT_SPINDLE_SPEED in the ini file) if S value is not yet specified?
I am asking this because I have an issue with starting the spindle using my pendant: The button to start the spindle activates the spindle through halui.spindle.0.start but if the S value is not yet specified, it sets the speed to 100 RPM (also, if S is specified, it starts the spindle to S+100 RPM which is even more puzzling). This creates all sorts of problems... I would like the pendant to start the spindle the same way as does the Gmoccapy - to the RPMs set in Settings if S is not yet specified or to the S value if specified.
I thought that understanding how Gmoccapy does it will give me an idea how to implement this on my pendant.
Here are the signals related to spindle and the pendant:
net pdnt.spindle.is-on whb.halui.spindle.is-on spindle.0.on
net pdnt.spindle.start whb.halui.spindle.start halui.spindle.0.start
net pdnt.spindle.stop whb.halui.spindle.stop halui.spindle.0.stop
net pdnt.spindle.forward whb.halui.spindle.forward halui.spindle.0.forward
net pdnt.spindle.reverse whb.halui.spindle.reverse halui.spindle.0.reverse
net pdnt.spindle.increase whb.halui.spindle.increase halui.spindle.0.increase
net pdnt.spindle.decrease whb.halui.spindle.decrease halui.spindle.0.decrease
net pdnt.spindle-speed-abs whb.halui.spindle-speed-cmd spindle.0.speed-out-abs
net pdnt.spindle-override.scale whb.halui.spindle-override.scale halui.spindle.0.override.scale
net pdnt.spindle.override.value halui.spindle.0.override.value whb.halui.spindle-override.value
net pdnt.spindle.override.increase whb.halui.spindle-override.increase halui.spindle.0.override.increase
net pdnt.spindle.override.decrease whb.halui.spindle-override.decrease halui.spindle.0.override.decrease