Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
17 Mar 2025 22:27

New to linuxcnc, basic question for DRO modes with encoded handwheels

Category: General LinuxCNC Questions

Some of Mesa's cards have dedicated inputs for hand-wheel encoders.
But this is so slow counting that you can use normal pins and the encoder component to get the hand-wheels inputs.
"normal pins" means parallel port pins, mesa input pins or some other digital io in pin.
linuxcnc.org/docs/html/man/man9/encoder.9.html
  • Vector
  • Vector's Avatar
17 Mar 2025 22:03 - 17 Mar 2025 22:04

Is there a "no go zone" feature of any kind?

Category: General LinuxCNC Questions

This is a weird-ish question, but LinuxCNC is so vast, I thought I'd ask:

I have a build where I'm making a trunnion inside the same area where the XYZ axis operates. Now that trunnion is growing up to have parts attached to it...

Is there a way to define a "no go zone" within the XYZ build box so that I don't accidentally crash into it?

It would need several different sections, ie, a series of boxes could be defined within which the controller is supposed to know that's not OK and send that 'move would exceed limitations' message if I tried to violate it.

I'm thinking the answer is "with great complexity comes great responsibility..."

But I thought I'd ask.

Cheers. 
  • Grotius
  • Grotius's Avatar
17 Mar 2025 21:25
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi all,

* Note, the topic name was changed up to 2 times by someone, haha.

Today i added look ahead. This took almost half a day. It's a tiny file, but took a lot off time.
Here is the look_ahead_source_code_file

Now i did a test run tonight using a line fillet algo :  file_path_standard_subseg_line_fillet
This is a simple optimizer algo, that is handy for simple runtests.

The test is done on the extreme  spiral_on_surface file. With tiny segments 0.001mm and deviation P0.0001 Q0.0

Some hal values:
  • incements_a_cycle = 2   (planner skips extra gcode segment to keep up with scurve new position)
  • ring buffer size = 10
  • total loaded segments from program start = 15117
  • future buffer, items that are ready to perform, including fillet segments = 3
  • cycle dist, is the distance in mm for current servo cycle = 0.0078 mm
  • hal traject buffer dist, total todo segments length. ( sum off future buffer ) = 0.1544764 mm
This file run's quite nice for what it is.

 

Git sources are updated.
The first donation is recieved. Thanks ! See the github readme file for more info !
Displaying 18151 - 18153 out of 18153 results.
Time to create page: 0.463 seconds
Powered by Kunena Forum