Advanced Search

Search Results (Searched for: )

  • bkt
  • bkt's Avatar
30 Jan 2025 17:20
Replied by bkt on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

... month of study in vision system algorythm ... finally see a real utilizations ....
  • PCW
  • PCW's Avatar
30 Jan 2025 17:13
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

If the device does not have a built-in watchdog, I guess you could remove its logic
power with a watchdog controlled device.
  • vre
  • vre
30 Jan 2025 17:06
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

When i set an out pin to TRUE after shutdown linuxcnc remains true
how can fix this except setting signals to 0 in shutdown.hal file.
  • bkt
  • bkt's Avatar
30 Jan 2025 17:04

Custom PC build for my brothers company and more

Category: Show Your Stuff

very glamour design .... Real Tempered Glass is a touch of class .... with that pc you can really go to Mars.
Good work.
Bravo.    
  • PCW
  • PCW's Avatar
30 Jan 2025 17:02
Replied by PCW on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

Yes, that looks OK hardware wise. LinuxCNC will only enable the output when running
and any loss of communications will disable the output.
  • bkt
  • bkt's Avatar
30 Jan 2025 16:54
QT6 gui was created by bkt

QT6 gui

Category: Other User Interfaces

hello to all .... i read these pieces of code generated from gtp .... is valid or not??
cd ~/linuxcnc ./configure --enable-qt6 make -j$(nproc) sudo make install

--enable-qt6 flag exist??
 
  • sk_linuxcnc
  • sk_linuxcnc
30 Jan 2025 16:49

how to run PCIe Parallel Port in mode x with 9 inputs?

Category: General LinuxCNC Questions

do you or does anyone have any recommendations for a suitable pcie parallel port card which can support 9 input pins?

also, if i were to change the data transfer mode of the pcie parallel port card from say EPP to SPP or ECP or Ps/2 , how to acheive that?
  • beauxnez
  • beauxnez
30 Jan 2025 16:27

ESP32/S2/S3 LinuxCNC Controller (6 axis hardware step gen), USB plug-and-play

Category: Computers and Hardware

I work on Windows 11 with Visual Studio Code, I haven't cleaned it, I don't even know how to do it.
  • PCW
  • PCW's Avatar
30 Jan 2025 16:14 - 30 Jan 2025 16:45
Replied by PCW on topic Following error - Rotary Axis

Following error - Rotary Axis

Category: Basic Configuration

Is the axis actually driving a chuck?

Analog will not change anything.

Why do you require such extreme acceleration?
It will lead to inaccuracies when cutting.
This is multiple Gs of acceleration at any significant
part radius (if this really is a normal rotary axis)

If you want to tune the axis, you need to setup halscope
with commanded joint velocity and following error, then tune
FF2 and I (FF2 will be in the 0.0002 region)  Too little  FF2
will cause a positive following error for acceleration in the
positive direction. Too high FF2 will cause a negative error
for acceleration in the positive direction.
'I' probably in the 50000 to 100000 region.

You will likely need to increase the following error limits
for tuning.

Here is a tuned A axis with 40000 degrees/S^2 accel and
10000 degrees/S velocity:



 


Note that the peak errors are about 1/10 of a step.
  • NT4Boy
  • NT4Boy
30 Jan 2025 15:20 - 30 Jan 2025 15:35
Replied by NT4Boy on topic HURCO KMB-1 Control Update

HURCO KMB-1 Control Update

Category: Milling Machines

 

This browser does not support PDFs. Please download the PDF to view it: Download PDF

Again

Failed on an image paste here, so trying again with an attachment.

I'd like to confirm that I'm connecting up my 7i77D correctly.
The I-J3-2 terminal here went originally to an optical isolator that was kept switched on by a watchdog timer that only runs when the operating system is loaded and running. The COR relay is enabled  by the On switch, and until this happens, nothing on the machine works, eg the servos relay cannot be enabled etc.
I am proposing to connect this same terminal to IO Output pin 0
mesact has written io.hal line as saying 
net estop-loopback => hm2_7i92.0.7i77.0.0.output-00
From my reading of the manual, the 7i77 will only enable this pin, when linuxcnc is up and running.ie the same as the original system.

Does this all look good?

Thanks
  • kb0thn
  • kb0thn
30 Jan 2025 15:08
Replied by kb0thn on topic Run external script on NGC file load?

Run external script on NGC file load?

Category: Gmoccapy

That looks perfect. Thanks for telling me about it!
  • Grotius
  • Grotius's Avatar
30 Jan 2025 15:04 - 30 Jan 2025 15:30
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

@Arciera,

Thanks for responce.

3. I think that's the same behavior as the current planner
Yes, looks like so.

@Julian,

Also thanks for responce.

I like the idea also. So you want to go nearer to the points before doing a spline.
The idea is polyline simplyfication. Then i thought maybe use :

Douglas-Peucker

 

Visvalingam-Whyatt

 

However both algo's don't satisfy cnc path smoothing.

Then i tried something on a paper with a pen myself. And came up with the triangles
centroid idea.

In Cgal they use the idea off convex hull for triangles.

 

However,
this idea is not really using a convex hull method, it's more like a forward sweep convex hull or
triangle-fan.

When the resulting line strip looks ok. Then doing a splinify is problably most succesfully.
However, if you use the "filter algo from previous post" then used as the planners back-end,
the result is maybe good enhough, you don't need the splinify.

Splitting in half between edgepoint and last point if next angle is the ame direction. And going one step back if the direction will change (not perfectly described of course).
I don't get it. .  But does'nt matter. Thanks for your help yesterday !


From DeepSeek:
Possible Names or Related Algorithms:

Laplacian Smoothing:
A common technique in mesh and curve smoothing that averages points with their neighbors. Your method is somewhat similar but uses centroids and halfway points instead of direct averaging.
 

Centroidal Voronoi Tessellation (CVT)
While not a direct match, CVT involves optimizing point positions (like centroids) to achieve smoothness in a geometric structure.


It looks like the algo is similar to Laplacian smoothing for the first stage. liqimai.github.io/blog/AAAI-18/
However the Laplacian is not using centrold's. And here it show's only the 2d solution. And algo is
working different as we use it.
Then it has no second stage.

 
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
30 Jan 2025 14:40
Replied by Cant do this anymore bye all on topic how to run PCIe Parallel Port in mode x with 9 inputs?

how to run PCIe Parallel Port in mode x with 9 inputs?

Category: General LinuxCNC Questions

That is quite normal, Linuxcnc implements it's own kernel driver to talk to the parallel port.
It doesn't matter what you believe, what matters is what the chip data sheets say. This is where you will get your proper knowledge. If this feature has not been implemented in the silicon die no amount of wishing nor debating will change that. As the docs say not all parallel ports implement the open collector feature.
What you need to do is determined the actual chip used on the parallel port card, find the chip's data sheet and carefully read through the document. If there is no mention of open collector outputs, that feature does that exist.
If it is mentioned you will have to determine if it is turned on via writing to any documented registers or whether there is a pin or pins on the chip that turns that feature by tieing high or low. If that is the case you will need to look at the board and see if the manufacturer has bought these pins out to a pad or not.
YOU NEEED TO READ THE DATA SHEET OF THE CHIP. This the only way to know for sure.


And hopefully the chip is the genuine item and not a clone.
  • vre
  • vre
30 Jan 2025 14:17 - 30 Jan 2025 14:21
Replied by vre on topic Following error - Rotary Axis

Following error - Rotary Axis

Category: Basic Configuration

testing servo motor... with 30000 is good acceleration
but i feel that can go 3 times faster mechanically (has low inertia).
I have got a 7i48 if drive it with analog -10+10V can go faster ?
How much FF2 & I needs for 60000 ?

What is better in general for driving servo that supports step-dir analog speed and analog torque ?
  • Grotius
  • Grotius's Avatar
30 Jan 2025 14:08 - 30 Jan 2025 14:27
Replied by Grotius on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi,

Today i thought maybe add a path filter to the planner. This is also just an idea that came up.

It uses no G64 P[x] value.
It uses no path blending and or fillets etc.
It works as backend filter for any path using G64 P[x] values.

It uses a hal_path_filter input parameter between 0 and 3000. Imagine 0 up to 3000 servo-cycles.

This is a simple algoritme that calculates the avarage of toolpath points [bufsize] in real time.

The runtime property is that how lower the speed, how closer it gets to the path. Deviation is small.
How faster the speed, deviation becomes bigger.
If normally the motion stops every gcode line because no G64 P[x] value is given, this algo keeps
up velocity's. In fact it automaticly generates endvelocity's for the trajectory.

In halscope the joint.x velocity and acceleration values, are nice.

hal_path_filter = 500
   

hal_path_filter = 1000
 

hal_path_filter = 2000
 

hal_path_filter = 3000


Show multiple filter values, 500, 750, 1000.
 

Let me know what you think?

 
Displaying 18751 - 18765 out of 21678 results.
Time to create page: 0.478 seconds
Powered by Kunena Forum