- Posts: 4739
- Thank you received: 2
Mesa 7I76 with Spindle encoder and MPG-need help
- Todd Zuercher
- Offline
- Platinum Member
-
net mpg-scale <= mux16.0.out
It should be either "net mpg-scale <= mux16.0.out-f" or "net mpg-scale <= mux16.0.out-s" depending on whether you want a float or an s32 output.
The important part of the error message that Linuxcnc pukes out when it fails to open is usually found under "Debug file Information"
Armed with this info maybe you can finish debugging your hal file.
Please Log in to join the conversation.
Please Log in to join the conversation.
eman5oh wrote: First many Thanks for helping me. I used the float for now and I now get this error.
./custom.hal:48: Pin 'hm2_5i25.0.7i76.0.0.enc0.count' does not exist
The good news is that you are nearly at the bottom of the HAL file.
If you temporarily add a line
Is the 7i76 in software mode 2?
Please Log in to join the conversation.
andypugh wrote:
eman5oh wrote: Is the 7i76 in software mode 2?
Well I had set it to mode two with pncconf , but the resulting halfile had it set to mode 0. It seems most of my trouble getting every thing working has come from errors with pncconf. I am not sure if something went wrong with my install or what but it has produced an number of errors in the hal file. Now to sort the rest of my issues.
Thanks again to everyone for the help.
Please Log in to join the conversation.
so , either add a 7i73 pendant to connect 2 handwheels , this will then connect to the rs422 serial bus , which the gpio pins are mapped to as well , or connect to the second port of the 5i25 ( internal 20 pin header ) and use the encoder their
i'm also looking at this particular problem , so i'm also looking to work this one out
but if someone has 2 encoders as well as the spindle with a 7i76 , i'd love to know how
if your wanting 2 mpg's , then I feel the 7i73 pendant is the correct way .
of course with any of the other mesa cards 7i90 etc then additional encoders can be added to the bit file
it may well be an additional 2 mpg encoders could be added to a special firmware for the 7i76 , perhaps PCW could advise
and i'll go from that .
Please Log in to join the conversation.
These only become available if the 7I76 mode is set to 2
Please Log in to join the conversation.
Please Log in to join the conversation.
full_config is with pendant
BossSmooth is with pendant using ilowpass to smooth the motion.
Please Log in to join the conversation.
- eneias_eringer
- Offline
- Junior Member
-
- Posts: 24
- Thank you received: 0
PCW wrote: The 7I76 MPG inputs will work with 5V signals (they have a 2.5V threshold)
If you have a single MPG, its A and B lines would connect to field inputs 16 and 17
Will this work at 7i78 ???
I have two MPG encoders on my Lathe and are wired direct(with opto couplers) to P2 on 5I25...
Please Log in to join the conversation.
for anywone else I am just trying to connect a mpg to my 7i76 card and having trouble working out all the things I need to do.
Regards
Andrew
Please Log in to join the conversation.
