Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
14 Aug 2025 22:40

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

The latency will limit your maximum speed but not interfere with basic LinuxCNC operation.

Have you gone through the various latency improvement options:

Disable all speed switching/turbo modes in the BIOS

Disable any power management in the BIOS (C states > C1 etc)

Disable hyperthreading

Set isocpus-L in kernel command line (with grub)
(where L is the last processor so 3 for example with a 4 core machine)
 
  • Chock
  • Chock
14 Aug 2025 22:02

getting started , latency and breakout board questions

Category: General LinuxCNC Questions

Good afternoon.    Well after a few mis-starts,   I am pretty sure I have a good Linuxcnc 2.9.4 install with Debian 12,; on a old Lenovo Thinkcenter  with a core3 processor, and a single onboard parallel port and a 1Tb Solid state HD      I have run a latency test, and the results are not super great, and quite a bit worse today than yesterday.  (yesterday the servo thread was  69200, and the base thread was 32900).   Here is a photo from today; after i opened up some calculators and the video player with no video to play..    Is this going to be a non starter because of the latency?    This computer was a freebee,    i was going to try a old windows XP machine, and i found out last night that would not work regardless,   So this is what i have for now.    If this is going to be a non starter for latency  i would like to know sooner than later  I am just barely capable of basic Linux navigation with a bit of help from google.    I had older Linux version 3 years back that seemed a bit different, I am trying to learn the newer version.       I am not sure i am even testing correctly.   I am have the LinuxCnc on a boot thumbdrive.    and once the computer is booted,  i am starting the Latency test from the Applications menu topmost left screen.    Then the CNC tab, and then Latency test.    As far as i can tell this HAS NOT started the actual LinuxCnc program which i thought was the correct way to go?     If i just run the latency test and do not exercise the machine i get  servo at 9139, and Base thread at 19360     The computer as i said is a freebee.   My IT friend gave it too me and we changed the OS to Linux,   and we then got the LinuxCNC image burned to the thumb drive.          I am not savy enough to know ,   But If we just wiped out the old OS which i think we did,   can or is there still some junk maybe running or causing problems from the old windows OS  or the hard drive,   that can mess with the latency????     When I open LinuxCnc it opens to the configuration selector  ( good?),   But i don't think i am ready for anything else at this time;?   If the Latency can be solved,  then I believe i still need to pick a parallel port breakout board  Correct?     For the breakout board i have been looking at the c10G and C11G break out boards,    I am hoping for a bit of help picking the break out boardI have a few different applications in mind for LinuxCnc, but the first application will be a  3 Axis Lagun mill that used to have a Crusader M control.   the machine went under salt water up to the quill,   the  ball screws seem ok , and the head and quill still work,   but the old Crusader M control and the old DC servos are toast,        I wouild like to put new AC servos back on the mill,  and i have been leaning toward the ClearPath  servo with amp combo, and i wanted to keep to the parallel port for now.    So is the latency going to be a problem?   can it be fixed?   Should i just find another computer?thanks 
  • PCW
  • PCW's Avatar
14 Aug 2025 21:13

System hangs repeatedly with certain combinations of operations

Category: General LinuxCNC Questions

That must be related to the source of your spindle-at-speed signal.

Maybe its always false at a zero speed, which will cause issues with
LinuxCNC if you try doing a cutting move (G1 etc) with the spindle off.

Do you need to do cutting moves with  the spindle off?

If so:

If you have a spindle encoder, you can generate a spindle-at-speed signal
by comparing the commanded spindle speed with the actual (from encoder)
spindle speed with the "near" hal component.

If you do not have a spindle encoder you could add some logic to force
spindle-at-speed true when the spindle is off (M5)
Displaying 13966 - 13968 out of 13968 results.
Time to create page: 0.327 seconds
Powered by Kunena Forum