- Posts: 91
- Thank you received: 10
Parport to 7i92
5 years 2 months ago #217690
by looping
Parport to 7i92 was created by looping
Hello
I am running for several years a parallel port/gecko G540 linuxcnc for my home built little cnc and it was fine.
Motherboard is GIGABYTE GA-D525TUD.
From time to time, I had the well known popup window « Unexpected realtime delay... » but I was able to machine my parts.
So lately I ordered a Mesa 7i92 and switched to V2.8 to have the real time part done by the card and to get rid of this warning message.
But, with the 2.8 kernel, latency is horrible (see screenshots in the attached files).
In PNCconf, on the Axis configuration page when testing motors, I have motor stalling randomly, even at lower mm/min than with V2.7.
Is it due to the poor latency performance or should I look for errors in my configuration files ? (HAL and INI for both version are also in the attached files)
Thanks
I am running for several years a parallel port/gecko G540 linuxcnc for my home built little cnc and it was fine.
Motherboard is GIGABYTE GA-D525TUD.
From time to time, I had the well known popup window « Unexpected realtime delay... » but I was able to machine my parts.
So lately I ordered a Mesa 7i92 and switched to V2.8 to have the real time part done by the card and to get rid of this warning message.
But, with the 2.8 kernel, latency is horrible (see screenshots in the attached files).
In PNCconf, on the Axis configuration page when testing motors, I have motor stalling randomly, even at lower mm/min than with V2.7.
Is it due to the poor latency performance or should I look for errors in my configuration files ? (HAL and INI for both version are also in the attached files)
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
-
- Offline
- Moderator
-
5 years 2 months ago #217695
by tommylight
Replied by tommylight on topic Parport to 7i92
What does
uname -a
in a terminal say?
Did you install the 2.8.2 ISO or did you just upgrade LinuxCNC?
And yes, latency issues will cause stalling and missing steps.
uname -a
in a terminal say?
Did you install the 2.8.2 ISO or did you just upgrade LinuxCNC?
And yes, latency issues will cause stalling and missing steps.
Please Log in or Create an account to join the conversation.
5 years 2 months ago #217696
by PCW
Replied by PCW on topic Parport to 7i92
1 I don't think the pncconf axis testing is going to work, you need to launch LinuxCNC to test
2. The D525 is a bit marginal for Ethernet at a 1 ms thread period so I would change:
setp hm2_7i92.0.dpll.01.timer-us -50
to
setp hm2_7i92.0.dpll.01.timer-us -200
and if you get real time warnings, increase the thread period
(to say 2 ms)
Note that for latency testing when using Mesa cards you don't
need a base thread so you will get more accurate results with
latency-histogram --nobase --sbinsize 1000
2. The D525 is a bit marginal for Ethernet at a 1 ms thread period so I would change:
setp hm2_7i92.0.dpll.01.timer-us -50
to
setp hm2_7i92.0.dpll.01.timer-us -200
and if you get real time warnings, increase the thread period
(to say 2 ms)
Note that for latency testing when using Mesa cards you don't
need a base thread so you will get more accurate results with
latency-histogram --nobase --sbinsize 1000
Please Log in or Create an account to join the conversation.
5 years 2 months ago - 5 years 2 months ago #217705
by looping
Replied by looping on topic Parport to 7i92
@
tommylight
uname -a
Linux Faiseuse 4.19.0-17-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
2.8.1 iso then I updated
Thank you for your quick answer
uname -a
Linux Faiseuse 4.19.0-17-rt-amd64 #1 SMP PREEMPT RT Debian 4.19.194-3 (2021-07-18) x86_64 GNU/Linux
2.8.1 iso then I updated
Thank you for your quick answer
Last edit: 5 years 2 months ago by looping.
Please Log in or Create an account to join the conversation.
5 years 2 months ago #217706
by looping
Replied by looping on topic Parport to 7i92
@PCW
1) With my current configuration, in linuxCNC, it stalls quickly when I jog at full speed. in pncconf it takes a bit longer with the +- 50mm test.
2) I will make the changes and test.
Many thanks for your help
1) With my current configuration, in linuxCNC, it stalls quickly when I jog at full speed. in pncconf it takes a bit longer with the +- 50mm test.
2) I will make the changes and test.
Many thanks for your help
Please Log in or Create an account to join the conversation.
5 years 2 months ago - 5 years 2 months ago #218883
by looping
Replied by looping on topic Parport to 7i92
Hello,
I made the tests within LinixCNC using your sugestion
* setp hm2_7i92.0.dpll.01.timer-us -200
* thread period : 2 ms
and it's much better
I can now reach 1900 mm/min
Still have a few things to tweak, but I should be able to mill soon
Many thanks for your hep
I made the tests within LinixCNC using your sugestion
* setp hm2_7i92.0.dpll.01.timer-us -200
* thread period : 2 ms
and it's much better
Still have a few things to tweak, but I should be able to mill soon
Many thanks for your hep
Last edit: 5 years 2 months ago by looping.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.366 seconds