QTDRAGON: Spindle speed is incorrectly set
24 Apr 2023 02:38 - 24 Apr 2023 02:40 #269715
by rodw
QTDRAGON: Spindle speed is incorrectly set was created by rodw
Please refer this issue: github.com/LinuxCNC/linuxcnc/issues/2447
Where a gearbox or belt drive is between the spindle motor and the spindle, the spindle RPM displays the motor speed not the spindle speed
This is because the wrong pin is sent to the GUI
The correct pin is spindle.0.speed-out (already scaled to RPM)
QTdragon uses spindle.0.speed-in which is the motor speed (in RPS), not the spindle speed.
Here is the result of a M3 S500. Spindle speed is correctly set to 500 rpm as confirmed by a digital tachometer.
Where a gearbox or belt drive is between the spindle motor and the spindle, the spindle RPM displays the motor speed not the spindle speed
This is because the wrong pin is sent to the GUI
The correct pin is spindle.0.speed-out (already scaled to RPM)
QTdragon uses spindle.0.speed-in which is the motor speed (in RPS), not the spindle speed.
Here is the result of a M3 S500. Spindle speed is correctly set to 500 rpm as confirmed by a digital tachometer.
Attachments:
Last edit: 24 Apr 2023 02:40 by rodw.
Please Log in or Create an account to join the conversation.
24 Apr 2023 08:31 #269738
by cmorley
Replied by cmorley on topic QTDRAGON: Spindle speed is incorrectly set
spindle.0.speed-in should be spindle RPS, not motor speed.
Please Log in or Create an account to join the conversation.
24 Apr 2023 10:19 #269746
by rodw
Replied by rodw on topic QTDRAGON: Spindle speed is incorrectly set
Yeh, I have to review this tomorrow when at the machine. It looks like I included a feedback pin in my gearbox component 12 months ago that outputs the inverse of the gearbox scaling for this purpose that has never been connected. Hopefully it is an easy fix!
Sorry about raising the issue. I shoulda stuck to the spindleless plasma world!
qtdragon has come ahead in leaps and bounds. I initially went to it because I had a 1536 x 768 monitor in a HMI panel. But I found it did not scale correctly on the monitor. I've resigned myself to order a 15.6 inch 1080p panel monitor and do the surgery to get it into the HMI housing.
Sorry about raising the issue. I shoulda stuck to the spindleless plasma world!
qtdragon has come ahead in leaps and bounds. I initially went to it because I had a 1536 x 768 monitor in a HMI panel. But I found it did not scale correctly on the monitor. I've resigned myself to order a 15.6 inch 1080p panel monitor and do the surgery to get it into the HMI housing.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.207 seconds