Rotary encoder for feed/spindel override wiring Meas 7i77
27 Dec 2023 17:02 #289184
by CNCDoc
Rotary encoder for feed/spindel override wiring Meas 7i77 was created by CNCDoc
Attachments:
Please Log in or Create an account to join the conversation.
27 Dec 2023 17:40 #289188
by PCW
Replied by PCW on topic Rotary encoder for feed/spindel override wiring Meas 7i77
Does that device have a quadrature output?
It's not clear from the markings.
It's not clear from the markings.
Please Log in or Create an account to join the conversation.
27 Dec 2023 17:46 #289189
by CNCDoc
Replied by CNCDoc on topic Rotary encoder for feed/spindel override wiring Meas 7i77
Yes it is quadrature.
Please Log in or Create an account to join the conversation.
27 Dec 2023 17:53 #289190
by PCW
Replied by PCW on topic Rotary encoder for feed/spindel override wiring Meas 7i77
Probably best connected to the 7I77 MPG inputs if you want 1X mode
but will work on regular encoder inputs if it has 5V signals
but will work on regular encoder inputs if it has 5V signals
Please Log in or Create an account to join the conversation.
27 Dec 2023 18:11 #289193
by CNCDoc
Replied by CNCDoc on topic Rotary encoder for feed/spindel override wiring Meas 7i77
I have one MPG connected. Are there 3 "MPG" inputs?
Please Log in or Create an account to join the conversation.
27 Dec 2023 19:00 #289199
by PCW
Replied by PCW on topic Rotary encoder for feed/spindel override wiring Meas 7i77
No, there are only inputs for two MPGs on the 7I77 field I/O pins
Please Log in or Create an account to join the conversation.
28 Dec 2023 06:45 #289232
by CNCDoc
Replied by CNCDoc on topic Rotary encoder for feed/spindel override wiring Meas 7i77
Is it much more complicated to use the encorder inputs?
Where can I find some example of hal config?
Where can I find some example of hal config?
Please Log in or Create an account to join the conversation.
28 Dec 2023 16:08 #289259
by PCW
Replied by PCW on topic Rotary encoder for feed/spindel override wiring Meas 7i77
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)
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19124
- Thank you received: 6406
28 Dec 2023 19:20 #289275
by tommylight
Replied by tommylight on topic Rotary encoder for feed/spindel override wiring Meas 7i77
I always prefer this for overrides, easy to set just by looking at it.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.
31 Dec 2023 08:01 #289416
by CNCDoc
Replied by CNCDoc on topic Rotary encoder for feed/spindel override wiring Meas 7i77
Got it working with the following code.
Used "ENC1" and Encorder.3.
Also moved the jumper to "Signal ended encoder" on the Mesa 7i77.
Used "ENC1" and Encorder.3.
Also moved the jumper to "Signal ended encoder" on the Mesa 7i77.
# 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.114 seconds