7i96s Watchdog Ethernet

More
1 year 7 months ago - 1 year 7 months ago #323420 by PCW
Replied by PCW on topic 7i96s Watchdog Ethernet
OK ping times look OK

Make sure the servo thread period is set for 1ms (1000000 ns)

What actual error do you get from LinuxCNC?

 
Last edit: 1 year 7 months ago by PCW.
The following user(s) said Thank You: ErwinCNC

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

More
1 year 7 months ago #323449 by ErwinCNC
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet
Es sind 2 Fehlermeldungen 

hm2/hm2_7i96s.0: Wachdog has bit! (set the .has bit pin to False to resume)

Unexpected realtime delay on task 0 with period 1000000
This Message will only display once per session. Run the Latency Test and resolve before continuing.

Die Ursache scheint wieder im Bereich read.tmax zu liegen. 

cnc@cnc:~$ halcmd show param *.tmax
Parameters:
Owner   Type  Dir         Value  Name
    36  s32   RW              0  hm2_7i96s.0.read-request.tmax
    36  s32   RW       96523036  hm2_7i96s.0.read.tmax
    36  s32   RW         390944  hm2_7i96s.0.write.tmax
    29  s32   RW          65448  motion-command-handler.tmax
    29  s32   RW         138712  motion-controller.tmax
    39  s32   RW           6464  pid.s.do-pid-calcs.tmax
    39  s32   RW           6196  pid.x.do-pid-calcs.tmax
    39  s32   RW           4464  pid.x2.do-pid-calcs.tmax
    39  s32   RW           6624  pid.y.do-pid-calcs.tmax
    39  s32   RW           6464  pid.z.do-pid-calcs.tmax
    30  s32   RW       96637576  servo-thread.tmax 


Vielen Dank

Grüße Erwin

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

More
1 year 7 months ago #323453 by ErwinCNC
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet
Ergänzung

Die Maschinenkonfiguration ist für die Tests ganz einfach gehalten. Erstellt mit PNCCONF XXYZ mit 1280steps/mm keine Endschalter, Spindel oder sonstige Ein / Ausgänge.
Wirklich minimal gehalten. Außer den Verfahrwegen nur Standardeinstellungen.
Die Karte läuft auf dieIP 10.10.10.10 am PC ist noch ein USB W-Lan Stick eingesteckt. Dieses Netzwerk ist 192.168.1.XX
Als Oberfläche habe ich gmoccapy gewählt.

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

More
1 year 7 months ago #323454 by PCW
Replied by PCW on topic 7i96s Watchdog Ethernet
Not sure what's wrong, that's a 31 ms delay!
The following user(s) said Thank You: ErwinCNC

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

More
1 year 7 months ago - 1 year 7 months ago #323455 by ErwinCNC
Replied by ErwinCNC on topic 7i96s Watchdog Ethernet
Die Mesa Karte ist direkt über ein Netzwerkkabel mit dem PC verbunden. Das Kabel habe ich schon ausgetauscht - keine Änderung.
Die Spannungsversorgung erfolgt über ein 5V Hutschienen Netzteil 5V 3A

Aktuell ist außer der Stromversorgung nichts an der Mesa Karte angeschlossen.

​​​​​​Den Ping Befehl habe ich jetzt noch mit 10 Minuten ausgeführt. Die Werte sind praktisch identisch zur letzten Messung (1 Minute)

Der Fehler tritt zufällig auf. Manchmal nach wenigen Sekunden manchmal erst nach 20 Minuten. 
Unabhängig davon ob das gmoccapy Fenster maximiert, klein oder im Hintergrund ist. 
 
Last edit: 1 year 7 months ago by ErwinCNC.

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

More
1 year 7 months ago #323468 by PCW
Replied by PCW on topic 7i96s Watchdog Ethernet
Not sure whats going on, possibly a hardware issue on the PC?

Does dmesg show anything?

Reboot,  LinuxCNC untill you get an error and then:

sudo dmesg > log.txt

and post log.txt here
 
The following user(s) said Thank You: ErwinCNC

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

Moderators: Muecke
Time to create page: 0.119 seconds
Powered by Kunena Forum