Error on 7i73 emc Counter after Update to 2.9.7

More
9 months 2 weeks ago #341270 by MatthiasF1210
Hi,

I am using LinuxCNC for years now and my Hardware is since 2020 stable. My hardware uses a Mesa 5i25 for the main job and an 7i73 as remote with an handwheel. 

After upgrading to 2.9.7 ( with PC hdd and OS update) I found that my handwheel is always counting, even when not used. I have the 7i73 on SmartSerial port0 loaded with:
Code:
loadrt hm2_pci config="num_encoders=5 num_pwmgens=1 num_stepgens=4 sserial_port_0=1220"

hm2_5i25.0.7i73.0.0.enc0.count -> is incrementing at max speed right after startup. So I double checked all Hardware even with an oszi, but the electrical signals are OK.

So I tested this code in hal, end replaced the HW Counter with an SW Counter. Then all is working as expected...
Code:
loadrt encoder num_chan=1 addf encoder.update-counters servo-thread addf encoder.capture-position servo-thread # HW Count net 7i73-mpg-count     <=    hm2_5i25.0.7i73.0.0.enc0.count net 7i73-mpg-rawcounts     <=    hm2_5i25.0.7i73.0.0.enc0.rawcounts # SW Count net handrad-phase-A hm2_5i25.0.7i73.0.0.input-08 => encoder.0.phase-A net handrad-phase-B hm2_5i25.0.7i73.0.0.input-09 => encoder.0.phase-B net 7i73-mpg-count-sw <= encoder.0.counts # use SW Count net 7i73-mpg-count-sw => axis.x.jog-counts net 7i73-mpg-count-sw => axis.y.jog-counts net 7i73-mpg-count-sw => axis.z.jog-counts

Even when it works now, I would like to understand the reason behind to check if the is the even more trouble, which I didn't find till now.

Question:
Where there relevant changes in hm2? My old LinuxCNC before was 2.8 ....
Is a "Firmware" Update neccesary ?
Could this be an defect inside the 7i73? Is something similar known?





 

Please Log in to join the conversation.

More
9 months 2 weeks ago #341274 by PCW
I can't duplicate this with 2.9.8 or master (2.10-pre1)
sounds more like a hardware issue of some kind.
 
 I guess a software issue is possible but this is the first time I have heard of this.

There were some sserial driver changes (bug fixes)  but nothing specifically
in the sserial encoder section, and there have been no encoder related
firmware changes to the 7I73.

You might check if the encoder still counts when both flat cables are disconnected from the 7I73

Do the other 7I73 MPG encoders have the same error?

Please Log in to join the conversation.

Time to create page: 0.322 seconds
Powered by Kunena Forum