Advanced Search

Search Results (Searched for: )

  • tuxcnc
  • tuxcnc
Yesterday 08:44
Replied by tuxcnc on topic Latency problem after upgrading to Trixie

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

I assume you have installed the RT kernel...
As for the error message that appears immediately after starting LinuxCNC, I have been blocking it for a long time (I always compile LinuxCNC myself).
I suspect that the cause of this error is the procedure for checking it.
I reported it once, but no one was interested.
Anyway, the message was almost always displayed, but latency-test or latency-plot didn't show anything alarming...
  • aaron
  • aaron
Yesterday 08:02 - Yesterday 08:04

Latency problem after upgrading to Trixie

Category: General LinuxCNC Questions

Hi
After many happy years on Bookworm LinuxCNC I have upgraded to Trixie. I ended up installing Debian OS and then installing LCNC ( I could not get the download from LCNC website to work).  Anyway, I have the machine running again, but as soon as I start the program, I get the dreaded latency error message.  I have turned off everything that is not needed in the bios, but still get the message. I understand there are ways to manipulate how the cores work in the computer.  Can someone point me to some step-by-step instructions?
Thanks
  • rodw
  • rodw's Avatar
Yesterday 07:11

Catio-a Spindle control with modbus over ethercat

Category: EtherCAT

 

The CATIO-A Ethercat I/O module is a well priced I/O module available on AliExpress. A config and documents for it is on the forum elsewhere. One of the interesting features is that it includes MODBUS RTU built in so you can use it to control your spindle. I am using it with a EV210 VFD that came with a single phase 2.2 kW spindle. Its a bit tricky though because:
  1. The serial port is slow by its very nature. The servo-thread so the lcec.write-all command tends to flood the serial port causing overruns.
  2. The fastest I could reliably communicate to my cheap Chinese EV210 is 38400 baud
  3. The SDO's are kind of read only so once you write to them, you can't write to them again without power cycling.
To deal with the SDO issue and the resulting flood of errors if done in the xml file, I decided to set them in a separate bash script that only needs running once per power cycle before you run LinuxCNC. This could be improved.

I've had a couple of goes at cracking this over the last 12 months or so and I finally got it working today!
A complete working config is attached. The HAL stuff is actually very similar to using the  Mb2Hal driver. Some hal features may be specific to my VFD as I found it that the scaling of the feedback changed once it reached 100 Hz. The other difference  is that Mb2Hal has some float pins but here I needed to convert some values to and from floats and unsigned integers to get a properly scaled Spindle at speed.

People worry about using modbus to control their spindle because its not real time. Well that does not matter because if you look at the LinuxCNC architecture, spindle control is not real time anyway.

What about rigid tapping they say? Well it also does not matter either because LinuxCNC synchronises Z axis motion with the spindle motion so the Z follows the lead from the Spindle!

There is also a lot of feedback data provided by modbus on speeds, torque current and the like which help you gain better control of your machining and it does not consume any pins. (A fully configured 0-10 volt spindle consumes 4 pins, forward relay, reverse relay, PWM pin for 0-10 volt control and a spindle at speed signal back from the VFD if its correctly configured. So all f those pins can be released if using modbus control.

Finally, Modbus gives you much greater immunity to electrical noise due to twisted pair and error checking in the protocol. Not only that, the speed is much more accurate and it will respond to torque spikes.

 
  • Aciera
  • Aciera's Avatar
Yesterday 06:53
Replied by Aciera on topic 5 axis tool offset

5 axis tool offset

Category: CAD CAM

I believe there is a 5 axis configuration...


There are several.
So what exactly do you mean by 'xyzab'? That can mean a few different kinematics.
  • Logthor
  • Logthor
03 Sep 2026 23:39
Replied by Logthor on topic Breakout Board Speed Control

Breakout Board Speed Control

Category: Basic Configuration

For posterity's sake, I ended up buying an SI-5 isolator board for my KBIC-240ds. I bought two PWM-to-analog converters, and both featured no optical isolation between all grounds. If you want true isolation (which you need for the KBIC-240ds), it seems that you need to buy this separate component or some sort of dedicated device that gives you galvanic isolation. My spindle seems to be working quite well currently.
  • RLA
  • RLA
03 Sep 2026 23:15
5 axis tool offset was created by RLA

5 axis tool offset

Category: CAD CAM

Hi,

I have a 5 axis homemade machine xyzab...I get gcode from CNCToolkit in Gmax....works pretty well other than tool offset...My linuxcnc is set up in Trivkins...My questions..  I believe there is a 5 axis configuration...

Is it very involved to switch?

Can tool diameter offsets be used?

Would it be better to try and modify CNCToolkit post to use tool offset? 

I am going off a surface...x y offsets I can draw...the biggest issue is allowing for tool diameter in adjusting z axis for b movents.

Thanks for any help!!

Rick

 
  • spumco
  • spumco
03 Sep 2026 21:43
Replied by spumco on topic Probe Basic - HAL pins not being created

Probe Basic - HAL pins not being created

Category: QtPyVCP

Ok, that icon means 'no layout' - makes sense for an indeterminate user layout.

But, sadly, no longer suspicious ;)

Back to stumped.
  • spumco
  • spumco
03 Sep 2026 21:29
Replied by spumco on topic Probe Basic - HAL pins not being created

Probe Basic - HAL pins not being created

Category: QtPyVCP

Had another go at it after updating again.  Here's what I've found:
  • qrc file issues are gone.  No error message that the qrc can't be found - that's a win.
  • Created six hal LEDs - 3 in main window user tab, 3 in sidebar user tab
    • All six LED hal pins are present in halshow - still good
    • main window user tab LEDs are displayed
    • sidebar user tab does not display LEDs or anything else (Qlabels)
Poking around in the editor, it looks like the sidebar user tab selector button is linked to "page 3" of the stack widget, which should correspond with the 4th page (page-0 being 1st).

When selected, the user sidebar tab is empty, so I think that confirms the right stack page is being selected, but the user ui file isn't being loaded.

No error messages in terminal during startup, and I didn't change any file names or paths from the templates.

The only thing suspicious I can see is what looks like an 'inactive' icon next to the sb_page_4 object in the object window.  Or I'm misinterpreting the icon - not sure. 
 
  • phino
  • phino
03 Sep 2026 19:20
Replied by phino on topic Test post for video links

Test post for video links

Category: Off Topic and Test Posts

I guess embedded Youtube links or links to open the video in another tab are the two working options.

Mods, you can delete my troubleshooting post (#349188) in the thread "Laser Head Height Sensor – Looking for a Beta Tester"

forum.linuxcnc.org/plasma-laser/55477-la...ster?start=70#349188
  • leexi
  • leexi
03 Sep 2026 19:02 - 03 Sep 2026 19:11
EDM retrofit was created by leexi

EDM retrofit

Category: CNC Machines

Dear Colleges  

Recently I get a junked EDM machine,  this is a robofill 200 I guess charmiles
The machine mechanically is complete, but  the control send a lot errors. I ask to person that know itit and say this machine was good, but now is old and obsolete.

 So, I am thinking this is a good chance to use LCNC and make it back to work again,
 but I will need some help to go work in this direction.

I understood the EDM 5 axis control on the motion axis topic, that is really similar as a foam 5 axis cutter,
This have 5 axis . X,U, Y, V, and Z, Looking deep on this machine,  
I found that the motors can be replaced easily for a new ones I guess some mounting plate will be need to make ti adapt the new servos

My first question, Is about the motion group what technology to use? 

The old and reliable Mesa card + pulse and direction servos
OR
Ethercat AC servos
 Or 
ethercat hybrid steeper motor?
Please advise what technology can be fine

 My Second Question, I found linear scales form heidenhain I found by part numbers that are analog linear scales and after goes a module and after to control, I wonder to know If LCNC can control this linear scales 

My 3rd question, is About the pulse generator that is new for me, I feel this is like the torch control on plasma cutter , but instead control the height , that control as adaptive feed to avoid  machine  breaks the cutting wire. Well over this topic I do not have a clue yet, I been reading some documents , so now I start to understand how it works but now I would like to know if I can control this pulse generator or not. Or if need to find another one that helps me to complete this topic about the pulse generator.

My 4th question, is about the wire spool control as well what is better, normal motor,AC servo or hybrid stepper motor 1 or 2 motors , wire tension control. 

and about other stuff like pumps and etc. I think they can be controlled easily.



 Please advise
  • tuxcnc
  • tuxcnc
03 Sep 2026 17:33
Replied by tuxcnc on topic Arduino IO Expansion

Arduino IO Expansion

Category: Show Your Stuff

Edit: i got it. Just rename the file from arduino-connector to arduino with loadusr -W arduino and it works.
 

Yes, it works, but is not solution.
I remember that program name must be the same as component name, so if component is "arduino" the program must be "arduino" too.
But "arduino" is bad name, because is widely used for many things, so it should be renamed to unique one.
 
  • Lcvette
  • Lcvette's Avatar
03 Sep 2026 15:46
Replied by Lcvette on topic Probe Basic - HAL pins not being created

Probe Basic - HAL pins not being created

Category: QtPyVCP

I just fixed the qrc file request also was a bad path between apt and pip install methods, now resolves for both so that should not be an issue anymore.. thanks for bringing this up!! was hidden from me with dev pc.
  • hhscott
  • hhscott
03 Sep 2026 15:20
End Mill Break Recovery Options? was created by hhscott

End Mill Break Recovery Options?

Category: General LinuxCNC Questions

Just had this happen today. Running along just fine, 2 hours into the job and then the End Mill snaps with about 5 minutes to go. What I would like to do it is:
 
1.Pause
2.Stop the spindle
3. Jog to a place where I can change the end mill
4.Touch off again to set my Z
5. Resume the job where it left off (or even better back up a few line of G Code)

Is this possible?
Thanks,
HH
  • andypugh
  • andypugh's Avatar
03 Sep 2026 15:02

I created a terminal based HAL viewer, 100% keyboard based operation

Category: HAL

Note that there is a re-write of Halshow under development, it might be worth seeing if there is scope for adding your ideas there?

github.com/LinuxCNC/linuxcnc/pull/4231
  • timo
  • timo
03 Sep 2026 14:36
Replied by timo on topic Search for a true 4 axis Cam

Search for a true 4 axis Cam

Category: CAD CAM

All those "affordable" 5-axis machines marketed seem to be kind of a scam. Machining extension for the mentioned CAM program costs (AI info unverified) 3200$ per year.
Rarely a real 5 axis machining is shown. My suspicion is that most of the few examples are show pieces which took a lot of effort to prepare.
For the Statue due to lack of CAM I would probably do some 2.5D setups and use the rotary axis as positioner rather than as a fourth axis.
Displaying 61 - 75 out of 13580 results.
Time to create page: 1.062 seconds
Powered by Kunena Forum