- Posts: 41
- Thank you received: 0
Cant get spindle RPM to display
1 year 4 months ago #329608
by Sternfox
Cant get spindle RPM to display was created by Sternfox
Hi guys, can't get spindle RPM to display, i have noticed a few different examples in the postgui.hal but non seem to work, i just get a -0 in my rpm display, I will attach my postgui.hal and my main.hal and a screenshot of halshow. Hopefully it's something very basic.thanks in advance
Attachment not found
Attachment not found
Attachment not found
Please Log in to join the conversation.
1 year 4 months ago #329609
by PCW
Replied by PCW on topic Cant get spindle RPM to display
One way:
in the main hal file add:
net spindle-vel-rpm hm2_[MESA](BOARD).0.encoder.00.velocity-rpm
in the gui hal file delete:
net spindle.0.revs => qtpyvcp.spindle-encoder-rpm.in
and add:
net spindle-vel-rpm => qtpyvcp.spindle-encoder-rpm.in
in the main hal file add:
net spindle-vel-rpm hm2_[MESA](BOARD).0.encoder.00.velocity-rpm
in the gui hal file delete:
net spindle.0.revs => qtpyvcp.spindle-encoder-rpm.in
and add:
net spindle-vel-rpm => qtpyvcp.spindle-encoder-rpm.in
Please Log in to join the conversation.
1 year 4 months ago #329620
by Sternfox
Replied by Sternfox on topic Cant get spindle RPM to display
amazing it works thank you, just need to change it so its not a minus sign before the reading
Please Log in to join the conversation.
Time to create page: 0.162 seconds
