Error on 7i73 emc Counter after Update to 2.9.7
- MatthiasF1210
- Offline
- Junior Member
-
Less
More
- Posts: 38
- Thank you received: 0
11 Jan 2026 14:10 #341270
by MatthiasF1210
Error on 7i73 emc Counter after Update to 2.9.7 was created 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:
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...
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?
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:
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...
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-countsEven 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 or Create an account to join the conversation.
- PCW
-
- Away
- Moderator
-
Less
More
- Posts: 17565
- Thank you received: 5136
11 Jan 2026 15:36 - 11 Jan 2026 23:01 #341274
by PCW
Replied by PCW on topic Error on 7i73 emc Counter after Update to 2.9.7
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?
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?
Last edit: 11 Jan 2026 23:01 by PCW.
Please Log in or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.068 seconds