Advanced Search

Search Results (Searched for: )

  • DarkPhoinix
  • DarkPhoinix
Yesterday 12:01
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

root@cnc:/home/cnc/kernel/linux-6.12.27# cat .config | grep -i Preempt
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
# CONFIG_PREEMPT is not set
CONFIG_PREEMPT_RT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_PREEMPTION=y
CONFIG_PREEMPT_RCU=y
CONFIG_HAVE_PREEMPT_DYNAMIC=y
CONFIG_HAVE_PREEMPT_DYNAMIC_CALL=y
# CONFIG_DEBUG_PREEMPT is not set
# CONFIG_PREEMPT_TRACER is not set
# CONFIG_PREEMPTIRQ_DELAY_TEST is not set

ok?
  • Roger S
  • Roger S
Yesterday 11:56
Replied by Roger S on topic Using POSIX realtime

Using POSIX realtime

Category: EtherCAT

Hello Hakan
Here are the results of both checks:

sudo service ethercat status:

● ethercat.service - EtherCAT Master Kernel Modules
     Loaded: loaded (/lib/systemd/system/ethercat.service; enabled; preset: enabled)
     Active: active (exited) since Fri 2025-05-09 13:44:10 CEST; 1min 16s ago
    Process: 542 ExecStart=/usr/sbin/ethercatctl start (code=exited, status=0/SUCCESS)
   Main PID: 542 (code=exited, status=0/SUCCESS)
        CPU: 29ms

Mai 09 13:44:10 roger systemd[1]: Starting ethercat.service - EtherCAT Master Kernel Modules...
Mai 09 13:44:10 roger systemd[1]: Finished ethercat.service - EtherCAT Master Kernel Modules.

sudo modinfo ec_master:

roger@roger:~$ sudo modinfo ec_master
[sudo] Passwort für roger: 
filename:       /lib/modules/6.1.0-30-rt-amd64/updates/dkms/ec_master.ko
version:        1.6.4 1.6.4.g703b611-1+17.1
license:        GPL
description:    EtherCAT master driver module
author:         Florian Pose <This email address is being protected from spambots. You need JavaScript enabled to view it.>
srcversion:     976B904C4EBCA2C98AAB9AC
depends:        
retpoline:      Y
name:           ec_master
vermagic:       6.1.0-30-rt-amd64 SMP preempt_rt mod_unload modversions 
sig_id:         PKCS#7
signer:         DKMS module signing key
sig_key:        0C:21:72:1B:F5:21:65:8B:7F:BF:48:64:17:62:5D:68:85:79:BA:BF
sig_hashalgo:   sha256
signature:      4A:E3:8A:17:F3:B0:9F:77:3C:AC:E0:3A:0E:17:7C:E5:BD:73:15:D5:
        8F:E7:72:79:94:A6:2E:EC:4D:F8:90:8C:9A:D3:02:F1:CA:78:59:46:
        5C:C6:5D:40:72:1D:E6:28:B9:F8:DD:C5:87:DE:C3:11:35:50:E7:EC:
        71:78:C7:43:5F:AE:E9:E1:11:FD:28:8E:58:2A:E8:38:AE:84:80:CE:
        BE:16:8A:8F:86:EE:68:3C:33:EA:39:0C:23:F6:C0:A7:CA:6F:95:BB:
        E2:72:1E:47:C4:62:82:4A:09:A2:7D:FB:3B:F3:7C:ED:E3:FC:8D:36:
        62:9F:47:0B:71:CD:04:8D:69:F6:D5:44:AD:A3:00:44:B5:5A:36:C3:
        CA:5B:E0:D5:B5:5A:50:C0:44:2A:42:63:7A:CC:8E:FB:DE:E7:21:1F:
        06:C9:6D:41:F3:60:3A:0A:AA:AE:4F:51:DF:17:17:0C:25:1D:C3:33:
        71:45:9A:5E:14:73:A9:4C:4E:D0:C4:70:DA:00:EA:57:6D:41:EA:63:
        A5:CE:8A:E4:9D:91:01:54:FC:EE:90:5A:FC:96:8A:94:FE:C4:8D:07:
        9C:8E:82:A8:5F:43:4F:86:49:8C:E6:0D:BF:69:D7:53:C4:5D:8B:C6:
        81:05:63:EC:0F:7E:F1:27:C8:FE:46:15:AD:C1:03:28
parm:           main_devices:MAC addresses of main devices (array of charp)
parm:           backup_devices:MAC addresses of backup devices (array of charp)
parm:           debug_level:Debug level (uint)
parm:           run_on_cpu:Bind kthreads to a specific cpu (uint)

To summarize how I installed it:
I followed the procedure described by rodw exactly. I didn't leave anything out, and I didn't add anything. I also lack the knowledge to do that. I've reinstalled the PC three times now, each time with the same result: Master0 link down. The network adapter settings are as I posted them (IPv4 Local Link and IPv6 disabled). UEFI is not active, and the installation itself didn't report any errors.
  • Todd Zuercher
  • Todd Zuercher's Avatar
Yesterday 11:51
Replied by Todd Zuercher on topic analog Servo spins on its own when connected to 7i77

analog Servo spins on its own when connected to 7i77

Category: General LinuxCNC Questions

Sounds like you are describing a run away servo system. First thing to check is if the encoder feedback direction is correct. Make sure that spinning the motor in the positive direction moves the DRO in the positive direction.. Second need to check if the analog output signal polarity is correct. Make sure applying a positive voltage to the drive input turns the motor in a positive direction. Both of these issues can be corrected in software by making their scale values negative (neg. encoder scale or input scale and neg. output scale). Either of the above conditions can cause a runaway as you describe. However changing both at the same time will cancel each other out and leave you with the same problem.
other out
  • DarkPhoinix
  • DarkPhoinix
Yesterday 11:46
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Warning: Spoiler!

Yes i have Realtek card but i solved the problem with the r8168-dkms module.
  • DarkPhoinix
  • DarkPhoinix
Yesterday 11:41
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

 
Why in the kernel of linuxcnc why are hibernation and other acpi function active?
Is not  a problem?
  • unknown
  • unknown
Yesterday 11:39
Replied by unknown on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

The values for step & direction are part of the ini file and can be adjusted to suit many stepper driver products.
With a 25000 ns base thread motion will be based on this.
External motion control is usually based on a 1ms update period.

Hence the reason a known & steady latency is important, regularity is an important factor, like a band if the drummer isn't regular, uhmmm like Lars from Metallica, things don't work as well as they should.
  • unknown
  • unknown
Yesterday 11:27
Replied by unknown on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Sorry I meant 2.9.4

Try not to get bogged down with latency.

Test the machine running code, if it works don't worry too much about it.

I took the gcode file that loads when you first start Axis, made it into a loop, loops thru the gcode about a hundred times,if I don't get any errors I'm confident it will be fine.

I really don't think there will be much difference between a modular or monolithic kernel.

You can gain a bit by fiddling with mount options, looking for any background services that aren't needed, I generally disable sound and I'll disable wifi if it's not required.

You'll find this forum a lot different to cnczone, for one no one on here gets caught playing my rapids are this fast, also you won't here anyone saying that you need to be a programmer to use Linuxcnc. It works and works well.
Almost any issues you have will have been discussed many many ten times over.
99.99% of the reason Linuxcnc won't start is a typo somewhere in the hal & ini files.
Sometimes I think that running the latest kernel on older CPUs isn't the best course of action. Far better to have some extra latency and a stable system.
Look you can spend a lot of time building different kernels and trying all the tricks in the book to lower latency, but as long as latency is, as a rule thumb, below 100,000 ns for an external step/direction generator you're good to go.
Then again network latency can be a PITA to sort sometimes.
  • fery15sty
  • fery15sty
Yesterday 11:25 - Yesterday 11:26
Replied by fery15sty on topic Axis Position Logger

Axis Position Logger

Category: AXIS

can i connect the menu options on the position-logger application with the halpin on the AXIS controller so that i can record the position with an external button (parport input)?

some menus as in the picture

  • DarkPhoinix
  • DarkPhoinix
Yesterday 10:48
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

i dont find  linuxcnc 2.9.5 iso, you have a link?
  • DarkPhoinix
  • DarkPhoinix
Yesterday 08:29
Replied by DarkPhoinix on topic Which kernel version is best for real time?

Which kernel version is best for real time?

Category: General LinuxCNC Questions

Thank you for the info today I will spend time compiling various kernels on my PC and I will try them!
I also answered you in the other post!
  • DarkPhoinix
  • DarkPhoinix
Yesterday 08:25 - Yesterday 18:09
Replied by DarkPhoinix on topic Best new Hardware for linuxcnc

Best new Hardware for linuxcnc

Category: Computers and Hardware

thank you, the problem I'm experiencing is latency when moving windows, I wouldn't want a more complex gcode, I hear ambiguous noises coming from the stepper even if it doesn't go into error when I move a window. I'm already recompiling the kernel to version 6.12.28 to verify that there isn't something wrong there. But the problem is always the video card! I would really like to be able to make it less resource-intensive, I've already tried removing hardware acceleration without success
  • hermann1976
  • hermann1976's Avatar
Yesterday 07:48
Replied by hermann1976 on topic Change Tool Offsets after editing the Tool Table

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

Current Release: 2.9.4

Thanks
  • Grotius
  • Grotius's Avatar
Yesterday 06:55
Replied by Grotius on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Hi Tia,

Attached file can be renamed to install.sh
This is more or less the install procedure to get it going, excluding the ethercat-master setup.

Furthermore we expanded the current path algo to a new one wich covers abc uvw motion at fillets.
This path algo is active by default.

Furthermore we solved a codeberg issue , related to uvw motions at runtime.
  • Onkelmat
  • Onkelmat's Avatar
Yesterday 06:35

analog Servo spins on its own when connected to 7i77

Category: General LinuxCNC Questions

I've got a lathe with two axes, X and Z as usual.
The Z axis is already set and works. there is a pulley between servo and leadscrew.
I did remove the pulley on the X axis since the servo starts spinning right away when drives are enabled.
Not at max speed but rather fast.

the exact same servo system on the Z axis works good, no drift no random spinning. I did already swap the drivers to no effect.

the Servo does spin when I connect the analog-+10 pin plug to the 7i77. when its not connected its not moving at all.

Linuxcnc is setup to have two axes with two encoders. when inplug in the analog plug into another analog drive header its the same effect. I didn't try to plug x into the z header.

any ideas why the servo spins up when analog plug is plugged into the 7i77 ?
  • zz912
  • zz912's Avatar
Yesterday 06:35

Change Tool Offsets after editing the Tool Table

Category: Gmoccapy

What version LCNC do you use?
Displaying 121 - 135 out of 26489 results.
Time to create page: 0.318 seconds
Powered by Kunena Forum