Rotary encoder for feed/spindel override wiring Meas 7i77

More
2 years 10 months ago #289232 by CNCDoc
Is it much more complicated to use the encorder inputs?
Where can I find some example of hal config?

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

More
2 years 10 months ago #289259 by PCW
No, basically it just means you change the source of the jog count in the hal file.
it does mean you do not have the 1X mode so you will not get one increment
per detent.

Have you considered using  a potentiometer instead for the override?
(this has advantages and disadvantages because of it absolute position nature)

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

More
2 years 10 months ago #289275 by tommylight

Have you considered using  a potentiometer instead for the override?
(this has advantages and disadvantages because of it absolute position nature)
I always prefer this for overrides, easy to set just by looking at it.

ASUS ROG Crosshair VIII Impact - AMD X570

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

More
2 years 10 months ago #289416 by CNCDoc
Got it working with the following code.
Used "ENC1" and Encorder.3.
Also moved the jumper to "Signal ended encoder" on the Mesa 7i77.

Code:
# connect feed overide increments - encoder net fo-count     <=  hm2_7i92.0.encoder.03.count # connect feed overide increments - encoder     setp halui.feed-override.direct-value false     setp halui.feed-override.scale .01     setp halui.feed-override.count-enable true net fo-count            =>  halui.feed-override.counts # ---spindle override signals to mesa encoder - enc--- net so-count     <=  hm2_7i92.0.7i77.0.0.enc1.count # connect spindle overide increments - enc     setp halui.spindle-override.direct-value false     setp halui.spindle-override.scale .01     setp halui.spindle-override.count-enable true net so-count              =>  halui.spindle-override.counts


 

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

Time to create page: 0.426 seconds
Powered by Kunena Forum