Schrittmotoren brummen im Stillstand

More
14 Apr 2023 19:11 #269023 by Julien
OK, I have installed the probe basic ui and hooked up the tool lengh sensor. I understood the "tool_touch_off" subroutine and measured my first tool. Everything seems to work when I noticed that stepper are making that weird sound when I zoom in the 3D view.
My servo threat is on 2000000 and I get this error:
Unexpected realtime delay on task
0 with period 2000000
This Message
will only display once per
session.
Run the Latency Test and
resolve before continuing.

Please Log in or Create an account to join the conversation.

More
14 Apr 2023 19:40 #269025 by PCW
Did you setup the kernel command line as suggested?
 
That is, what does:

cat /proc/cmdline

report?

Please Log in or Create an account to join the conversation.

More
14 Apr 2023 19:47 #269026 by Julien
cncfraese@CNCFraese:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-6.3.0-rc5-rt8 root=UUID=87c1cf74-4a2b-4e07-a0b5-5db8f79de404 ro quiet splash intel_idle.max_cstate=1 processor.max_cstate=1 idle=poll intel_idle.max_cstate=1 i915.enable_dc=0

Please Log in or Create an account to join the conversation.

More
14 Apr 2023 19:55 #269027 by PCW
Unfortunately it may be that that PC is just not suited to real time use
(sounds like video interference)

You might try isolcpus in the kernel command line

Please Log in or Create an account to join the conversation.

More
15 Apr 2023 17:42 #269134 by Julien
Yes, I think so too. I had so much trouble and put so many hours into this. I have ordered another PC (I found a recommendation in this forum) and hope I will be able to make everything work with that PC.
Anyway I am so thankful for your help and efford.
I am able to prepare the HALs, INIs and Configs for the new PC and I have learned so much about linux and linuxcnc.
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Apr 2023 18:46 #269145 by tommylight
Remind me, what PC was this?

Please Log in or Create an account to join the conversation.

More
15 Apr 2023 19:22 #269150 by Julien
Lenovo ThinkCentre M710q Tiny Mini-PC (überholt) Intel i5-7400T RAM 8GB SSD 240GB

Please Log in or Create an account to join the conversation.

More
15 Apr 2023 19:48 #269153 by tommylight
The very small one with power brick?
I have one of those somewhere...

Please Log in or Create an account to join the conversation.

More
15 Apr 2023 22:59 #269166 by Julien
I don't know. It will be here on wednesday. I can post the info I have here:
Intel Core Prozessor i5-7400T 2.40 GHz (bis zu 3.00 GHz in Turbo-Boost / 4 Core 4 Thread)
Integrierte Grafikkarte Intel HD Graphics 630
RAM-Speicher 8 GB DDR4 SO-DIMM 2133 MHz – RAM maximal 32 GB unterstützt.
SSD 240GB SATA 2.5"

Front:
2 x USB 3.1 Gen1
1 x Kopfhörer.
1 x Mikrofon.

Back:
4 x USB 3.1 Gen1
2 x DisplayPort (Video).
1 x RJ-45 LAN Port 10/100/1000 Mbps
1 x Netzteil (externes Netzteil mit 65 W Original/kompatibel).

2 x DDR4 SO-DIMM RAM Steckplatz (variable RAM-Bankanordnung)
1 x SATA III Stecker (1 belegt)

Maße des Computers: 17,9 x 18,3 x 3,5 cm.
Gewicht des Computers: 1,4 kg.

Please Log in or Create an account to join the conversation.

More
03 May 2023 14:21 #270569 by Julien
Hey, I want to give you a quick update of my journey.

The Lenovo ThinkCentre arrived and I followed the instrucktions of the sticky posts in the QtPyVCP part of this forum. It worked very well at all for me and so after a short Intermezzo (booting with any other OS than windows is blockt in BIOS by "safety reasons") and turning off all unnecessary BIOS options I got a running ProbeBasic on 6.1.0-7-rt-amd64 #1 SMP PREEMPT_RT Debian 6.1.20-2 (2023-04-08) x86_64 GNU/Linux.
Ping is about 0.470ms
servo jitter up to 135000 if I stress the PC with glxgears and changing the window size very fast.
I isolated core 2 and 3.
So definitely some space for improvment but I had no "hm2/hm2_7i96s.0: Error finishing read!" yet and only one warning that the servo threat is too high (put it to 1000000 now) at the very first start up but never again.
So I decided to play a bit with my newly achived success and set up the stepper parameters, moved a bit by hand, set up the tool leingth measureing routing and finished my tool table. I can tell you, I really needed that, I am feeling a bit exausted about this project.

So right now I try to set up my spindle but I will open up another threat for that.

Please Log in or Create an account to join the conversation.

Time to create page: 0.095 seconds
Powered by Kunena Forum