Closed zmrdko closed 11 months ago
Running the Axis sim and watching the spindle pins in the watch window and nothing changes there. Seems like it's an issue with the gui and perhaps with the python interface.
JT
can you please double check? here is video of stock axis sim config and halshow spindle pins:
https://github.com/LinuxCNC/linuxcnc/assets/56800227/ef608f73-7007-4921-b8bf-41894842d172
You are right, that it does not affect spindle.0.froward pins, It affects only halui.spindle.0.forward pin.
I think you mean the halui.spindle.0.runs-forward pin? Does it set the runs-reverse pin if you enter a negative speed?
Are you prevented from pressing the spindle-start pin (on the basis that it is already pressed)
Correct, my bad: halui.spindle.0.runs-forward as seen on screen capture. Entering negative Spindle speed is not permitted. I get error: Negative spindle speed used:
I am able to press spindle FWD again, and it actually starts the spindle:
This sounds like a bug just fixed..try the latest code in 2.9
This sounds like a bug just fixed..try the latest code in 2.9
im using this apt source:
deb [arch=amd64,arm64 signed-by=/usr/share/keyrings/linuxcnc.gpg] https://www.linuxcnc.org/ bookworm base 2.9-uspace
deb-src [arch=amd64,arm64 signed-by=/usr/share/keyrings/linuxcnc.gpg] https://www.linuxcnc.org/ bookworm base 2.9-uspace
when this repository gets updated with bugfix you mentioned?
If I understand correctly, it will be fixed in version 2.10
It should be fixed in 2.9.2 coming out soon ish. I always compile the code so can't advise how to try earlier. Usually the buildbot builds the currentest code.
Thanks!
Here are the steps I follow to reproduce the issue:
This is what I expected to happen:
S4000 command only changes preset spindle speed
This is what happened instead:
S4000 command makes spindle FWD button appear as ON (halui.spindle.0.runs-forward is switched to ON state, but spindle.0.forward is OFF)
It worked properly before this:
a friend of mine declared, that in 2.7 it does not happen
Information about my hardware and software:
lsb_release -a
): Debian 12 Bookwormuname -a
): Linux linuxcnc 6.1.0-15-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.66-1 (2023-12-09) x86_64 GNU/Linuxscripts/get-version-from-git
): 2.9.1https://github.com/LinuxCNC/linuxcnc/assets/56800227/3078db1c-e95d-48aa-a550-269483afb872