Advanced Search

Search Results (Searched for: )

  • rodw
  • rodw's Avatar
10 May 2025 20:18
Replied by rodw on topic Real Time and Latency

Real Time and Latency

Category: Computers and Hardware

Linuxcnc's waypoints are defined in device units (mm or inch)
the STEP_SCALE defines the number of steps per device unit
All of the planning and waypoints are in device units.

The base thread is used to generate the steps. Think of the thread as being an interrupt timer routine that is called (cycled) at precise intervals (frequency). The simplest step generator is a square wave where a pin is turned on for a number of cycles and then turned off for the same number of cycles. (In practice Linuxcnc's step generator is more complex than this as it includes step length and step spacing parameters). But in our simple software step generator, the maximum step rate is the frequency/2. 

A Mesa card offloads this step generation to hardware and all Linuxcnc has to do is once every servo thread cycle is to update the frequency the card is generating. In this case the base thread is not required.


 
Displaying 16306 - 16306 out of 16306 results.
Time to create page: 0.426 seconds
Powered by Kunena Forum