Poti for overrides

More
6 years 1 month ago #180627 by roland
Replied by roland on topic Poti for overrides
Hi keyboard,
with my example above i wanted to show how to use mux-gen to avoid the 100% problem of the potentiometer.
The shown lines are just a part of my hal and therefore of course not complete.

with these entries the potentiometer can be mounted. It should work this way or something similar. The pin names have to be adapted to the used 7i76e.
Code:
###################################################### ## Feed-Override ## mit Poti ###################################################### loadrt mux_generic config=fs2 addf mux-gen.00 servo-thread setp hm2_7i92.0.7i84.0.2.analogin0-scalemax 240 setp halui.feed-override.direct-value true setp halui.feed-override.count-enable true setp halui.feed-override.scale 0.01 setp mux-gen.00.in-float-00 100 net feedpot-raw mux-gen.00.in-float-01 hm2_7i92.0.7i84.0.2.analogin0 net machine-is-on mux-gen.00.sel-bit-00 net feedpot-mux mux-gen.00.out-s32 halui.feed-override.counts

If you really want to see the complete hal and ini files, let me know.

--
Roland
The following user(s) said Thank You: keyboard

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

More
6 years 1 month ago #180891 by keyboard
Replied by keyboard on topic Poti for overrides
Hi Roland,
Awesome!! Thanks. Works perfectly.

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

More
5 years 11 months ago #189229 by prcdslnc13
Replied by prcdslnc13 on topic Poti for overrides
Could you post your hal and ini files? Im having a hard time getting the hyst component to load. I really would just like to see how everything is configured to get a pot to actually work.

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

More
5 years 11 months ago #189233 by roland
Replied by roland on topic Poti for overrides
Is the question addressed to me?

Did you compile the hyst component?

--
Roland

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

More
5 years 11 months ago #189243 by prcdslnc13
Replied by prcdslnc13 on topic Poti for overrides
yes it is, and no I didnt. I my google-fu has failed me and while I found lots of information on hysterectomies, Not much about the hyst component haha.

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

More
5 years 11 months ago #189246 by roland
Replied by roland on topic Poti for overrides
the hyst comp is not included in linuxcnc

download archive here: forum.linuxcnc.org/24-hal-components/360...gger?start=10#151335
unpack archive
install with halcompile
Code:
halcompile --install hyst.comp

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

Time to create page: 0.431 seconds
Powered by Kunena Forum