Catching the index pulse with a 7i76
09 Aug 2013 21:32 #37521
by mariusl
Regards
Marius
www.bluearccnc.com
Catching the index pulse with a 7i76 was created by mariusl
Will I be able to catch the index pulse of an encoder on the GPIO input of a 7i76 card>?
I want to use it to home my 4th axis with.
I want to use it to home my 4th axis with.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
09 Aug 2013 21:41 #37522
by PCW
Replied by PCW on topic Catching the index pulse with a 7i76
Probably not with GPIO unless the encoder is quite low resolution,
is moving very slowly or both. The 7I76 encoder input will work however.
Another option if the 7I76 encoder input is already used is to use the second
encoder input on the 5I25s P2 (assuming the standard 7I76x2 firmware, there
are a second set of TTL compatible encoder inputs available on P2)
is moving very slowly or both. The 7I76 encoder input will work however.
Another option if the 7I76 encoder input is already used is to use the second
encoder input on the 5I25s P2 (assuming the standard 7I76x2 firmware, there
are a second set of TTL compatible encoder inputs available on P2)
Please Log in or Create an account to join the conversation.
09 Aug 2013 22:18 #37523
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Catching the index pulse with a 7i76
I quickly scanned the manual and could not see the pinout definition for the second port. Well at least not the detail as far as signals are concerned or are they just IO to be configured as I please?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
09 Aug 2013 22:30 #37524
by PCW
Replied by PCW on topic Catching the index pulse with a 7i76
There is no firmware specific pinout information in the manual
since there are nearly limitless firmware options.
If you download the 5i25 zip file and look in the configs/hostmot2
directory you will see a file named 7i76x2.pin. This has the pinout
of the 7I76x2 config normally used with the 5i25/7I76 card set.
You may already have these pin files installed in
/lib/firmware/hm2/5i25 if you installed the pncconf xml files
Another option is to turn on the hostmot2 debugging options
related to pins and modules (man hostmot2)
This will write a _lot_ of pinout info to the kernel log when
Linuxcnc starts
since there are nearly limitless firmware options.
If you download the 5i25 zip file and look in the configs/hostmot2
directory you will see a file named 7i76x2.pin. This has the pinout
of the 7I76x2 config normally used with the 5i25/7I76 card set.
You may already have these pin files installed in
/lib/firmware/hm2/5i25 if you installed the pncconf xml files
Another option is to turn on the hostmot2 debugging options
related to pins and modules (man hostmot2)
This will write a _lot_ of pinout info to the kernel log when
Linuxcnc starts
Please Log in or Create an account to join the conversation.
09 Aug 2013 22:47 #37526
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Catching the index pulse with a 7i76
Peter
Ok got that. I see the second port looks after the rest of the Step/Dir channels. Is there a way that these can all be assigned to GPIO type pins? I would very much like to drive some custom boards with that port if possible. Then I don't have to use parports at all .
Ok got that. I see the second port looks after the rest of the Step/Dir channels. Is there a way that these can all be assigned to GPIO type pins? I would very much like to drive some custom boards with that port if possible. Then I don't have to use parports at all .
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
09 Aug 2013 23:06 - 09 Aug 2013 23:19 #37527
by PCW
Replied by PCW on topic Catching the index pulse with a 7i76
Sure, just don't enable more than 5 stepgens (or more than 2 serial ports)
Like all hostmot2 configurations, if a secondary function like PWM, step/dir, SPI, encoder
etc is not used, the pins revert to GPIO use
Like all hostmot2 configurations, if a secondary function like PWM, step/dir, SPI, encoder
etc is not used, the pins revert to GPIO use
Last edit: 09 Aug 2013 23:19 by PCW.
Please Log in or Create an account to join the conversation.
09 Aug 2013 23:46 #37528
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Catching the index pulse with a 7i76
That is really great news, thanks a lot.
So if I enable the second encoder it will automatically assign the correct pins, as I saw it in the 7i76x2 file, to the encoder?
So if I enable the second encoder it will automatically assign the correct pins, as I saw it in the 7i76x2 file, to the encoder?
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
10 Aug 2013 00:08 #37529
by PCW
Replied by PCW on topic Catching the index pulse with a 7i76
Yes assuming that you do have a 7i76x2 config in your 5I25
(it will be unless you changed it). You can always verify by
enabling 2 encoders and checking the dmesg pinout list
(it will be unless you changed it). You can always verify by
enabling 2 encoders and checking the dmesg pinout list
Please Log in or Create an account to join the conversation.
10 Aug 2013 00:21 #37530
by mariusl
Regards
Marius
www.bluearccnc.com
Replied by mariusl on topic Catching the index pulse with a 7i76
Thanks Peter. I loaded the 7i76x2 firmware when I got the cards.
Regards
Marius
www.bluearccnc.com
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds