- Posts: 4819
- Thank you received: 0
MESA 7i76e and 7i85 setup Encoder 01 and 02
7 years 1 month ago #145750
by Aciera
MESA 7i76e and 7i85 setup Encoder 01 and 02 was created by Aciera
I would like to setup my retrofit with 3 linear encoders. I've been able to setup one encoder for the X-axis by activating the encoder in the Pncconf-Wizard on the 7i76e tab. This gives me Encoder.00 in the X-Axis section in the HAL file. I wire the encoder to the Encoder Channel 0 on the 7i85 and everything works fine for the x-axis.
Then I try to do the same for the Y-axis but I cannot add another encoder in the 7i76e in the Pncconf-Wizard and adding it directly to the HAL gives an error: "hm2_7i76e.0.encoder.01.index-enable" does not exist.
How do I configure the system with all three encoders?
All hints are very much appreciated.
David
Then I try to do the same for the Y-axis but I cannot add another encoder in the 7i76e in the Pncconf-Wizard and adding it directly to the HAL gives an error: "hm2_7i76e.0.encoder.01.index-enable" does not exist.
How do I configure the system with all three encoders?
All hints are very much appreciated.
David
Please Log in to join the conversation.
7 years 1 month ago #145752
by PCW
Replied by PCW on topic MESA 7i76e and 7i85 setup Encoder 01 and 02
Are you using firmware that supports a 7I85?
7i76e_7i76x1_7i85x1D.bit for 7I76E with 1 7I85
7i76e_7i76x1_7i85sx1D.bit for 7I76R with 1 7I85S
7i76e_7i76x1_7i85x1D.bit for 7I76E with 1 7I85
7i76e_7i76x1_7i85sx1D.bit for 7I76R with 1 7I85S
Please Log in to join the conversation.
7 years 1 month ago #145756
by Aciera
Replied by Aciera on topic MESA 7i76e and 7i85 setup Encoder 01 and 02
Yes. I flashed 7i76e_7i76x1_7i85x1D.bit and --readhmid gives me for P1 Pins 7 to13 the MuxSel0 - MUXQ-IDX.
Now I've read that I can't mix "Encoders" and "Muxed Encoders" so should I remove the Encoder in the Pncconf?
Thanks
David
Now I've read that I can't mix "Encoders" and "Muxed Encoders" so should I remove the Encoder in the Pncconf?
Thanks
David
Please Log in to join the conversation.
7 years 1 month ago #145758
by PCW
Replied by PCW on topic MESA 7i76e and 7i85 setup Encoder 01 and 02
The muxed vs non-muxed is not an issue, they are treated the same in hal and by the driver
Did you set the number of encoders in the driver command line?
( num_encoders=4 for example )
Did you set the number of encoders in the driver command line?
( num_encoders=4 for example )
Please Log in to join the conversation.
7 years 1 month ago #145760
by Aciera
Replied by Aciera on topic MESA 7i76e and 7i85 setup Encoder 01 and 02
No. I did not set the number of encoders in the driver command line.
How do I do that?
David
How do I do that?
David
Please Log in to join the conversation.
7 years 1 month ago #145761
by PCW
Replied by PCW on topic MESA 7i76e and 7i85 setup Encoder 01 and 02
There should be a line near the top of a pncconf created hal file with a line something like:
loadrt hm2_eth board_ip=xx.xx.xx.xx config=" num_encoders=1 num_stepgens=5"
loadrt hm2_eth board_ip=xx.xx.xx.xx config=" num_encoders=1 num_stepgens=5"
Please Log in to join the conversation.
Time to create page: 0.152 seconds
