Physical buttons to 7i96s+7i77

More
10 months 2 weeks ago #340156 by COFHAL
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?

Please Log in to join the conversation.

More
10 months 2 weeks ago #340182 by Masiwood123
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

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.043 seconds
Powered by Kunena Forum