Physical buttons to 7i96s+7i77

More
16 Dec 2025 00:28 #340156 by COFHAL
Replied by COFHAL on topic Physical buttons to 7i96s+7i77
It seems very strange to me because it works perfectly fine for me on several machines where I've installed potentiometers to control those two speeds. I honestly don't know the resolution of the ADCs on the card you're using. In my case, the control is very linear between 0%, 100%, and 200%, which is the range in which I have those two overrider speeds programmed. Could you please repost your configuration so I can try to help you?
The following user(s) said Thank You: Masiwood123

Please Log in or Create an account to join the conversation.

  • Masiwood123
  • Masiwood123's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
16 Dec 2025 11:22 #340182 by Masiwood123
Replied by Masiwood123 on topic Physical buttons to 7i96s+7i77
This is the only thing that works smoothly for me.
# --- FEED SPEED RAPID POTENTIOMETER'S ---
#BIT direct value
setp halui.spindle.0.override.direct-value 1
setp halui.rapid-override.direct-value 1
setp halui.feed-override.direct-value 1
# SCALE
setp halui.spindle.0.override.scale 0.01
setp halui.rapid-override.scale 0.01
setp halui.feed-override.scale 0.01
# scalemax
setp hm2_7i96s.0.7i77.0.0.analogin1-scalemax 100 # spindle
setp hm2_7i96s.0.7i77.0.0.analogin2-scalemax 100 # rapid
setp hm2_7i96s.0.7i77.0.0.analogin0-scalemax 200 # feed
loadrt conv_float_s32 count=2
addf conv-float-s32.0 servo-thread
addf conv-float-s32.1 servo-thread
addf conv-float-s32.2 servo-thread
net analogin1 conv-float-s32.0.in <= hm2_7i96s.0.7i77.0.0.analogin1
net analogin2 conv-float-s32.1.in <= hm2_7i96s.0.7i77.0.0.analogin2
net analogin0 conv-float-s32.2.in <= hm2_7i96s.0.7i77.0.0.analogin0
net analogout0 conv-float-s32.0.out => halui.spindle.0.override.counts
net analogout1 conv-float-s32.1.out => halui.rapid-override.counts
net analogout2 conv-float-s32.2.out => halui.feed-override.counts

File Attachment:

File Name: betabeta_2...2-16.zip
File Size:22 KB
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.075 seconds
Powered by Kunena Forum