Prototrak Plus Retrofit with Mesa 7i77 & 5i25 cards

More
9 years 8 months ago #87671 by new2linux
Many many thanks andpugh!!

num_encoders=3 as per .hal file

thanks!

Please Log in to join the conversation.

More
9 years 8 months ago #87676 by PCW
That's why you have "hm2_5i25.0.encoder.03.counter-mode not found"
You have only enabled encoders 0,1,2

Please Log in to join the conversation.

More
9 years 8 months ago #87678 by new2linux
Many many thanks!
I have pondered what andypugh and PCW are suggesting and that would be to edit to 2 from the existing 3. I try to restrain myself, without confirmation will not go backward in progress if possible. Again I offer my many thanks to all that help make this happen.

Please Log in to join the conversation.

More
9 years 8 months ago #87680 by PCW
Theres no reason not to enable all encoders (num_encoders=6)

Please Log in to join the conversation.

More
9 years 8 months ago #87694 by andypugh

new2linux wrote: I have pondered what andypugh and PCW are suggesting and that would be to edit to 2 from the existing 3.


Ponder some more ;-)

You need num_encoders to be 4 to enable encoders 0,1,2,3

But, as PCW says, there isn't any reason to disable any of them.

Please Log in to join the conversation.

More
9 years 8 months ago #87697 by new2linux
Many thanks PCW and andypugh, attached are dmesg, .ini and print error files. Again I ponder, "axes.3.motor-pos-fb" I see this line, 7 lines above the # AXES Z in the .hal files. The only thing I see that maybe the issue is the 3 needs to go to 03, as to match the other code in that area. just a guess. unless this like before and needs to go to 6.

Many thanks for everyone's help especially PCW, andypugh, tommylight and bevins, I would not be this far without your help!!

Please Log in to join the conversation.

More
9 years 8 months ago #87699 by tommylight
You have to change the config for X and Y axis, just replace anything pertaining to axis 2 to axis 1 and axis 3 to axis 2, also encoders and analog ouuts.

Please Log in to join the conversation.

More
9 years 8 months ago #87700 by tommylight
There should be axis 0, 1 and 2. You have them as 0,2,3

Please Log in to join the conversation.

More
9 years 8 months ago #87702 by new2linux
tommylight I have from earlier posted this:

I have swapped encoder 0 & 1 "went to" encoder 2 & 3 located at TB3 & TB4; in addition to the associated DRV 0 & 1 "went to" DRV 2 & 3.

The thinking behind my approach was the layout of the 7i77 card calls out the location, to match to .hal file. If this is not the correct way and it recognizes 0,1,2 no matter location on 7i77 card will gladly rework.

many thanks!!

Please Log in to join the conversation.

More
9 years 8 months ago #87704 by tommylight
Found it, you havee that line in the motor.1 section, just change the 3 in that line to 1

Please Log in to join the conversation.

Time to create page: 0.137 seconds
Powered by Kunena Forum