Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
03 Aug 2025 18:40
Replied by andypugh on topic Spindle speed?

Spindle speed?

Category: Basic Configuration

Just to explain what was going on previously.

The config is set up with closed-loop control of spindle speed, using a PID component. You can look up PID elsewhere, but most references will tend to overcomplicate it. They have existed since long before digital computers. You run a PID controller in your head when you drive a car. Feedback is looking at the speedo, the command is how hard you press the pedal, and the output is how much power the engine makes.

To stretch the analogy, in your linuxcnc config you have a speedo that goes negative, but you are stupid (as you are a computer) and when told to do 70mph in reverse you see -70mph on the speedo, think "that's 140mph less than 70mph" and press the pedal to the floor.

You have to ensure that the domains of the signals are the same. If you are using single-sided speed command (spindle.0.speed-out-abs for example) then the PID neds to see a single-sided speed feedback, typically achieved by passing the measured encoder speed thorugh an "abs" component in HAL.

You might find it instructive to browse through the available HAL components, they are fundamental to the flexibility of lInuxCNC as you can do all sorts of manimpuations on the input and output signals.

You can see the list here:
linuxcnc.org/docs/stable/html/
if you scroll-down to "Realtime components and kernel modules" and (to a slightly lesser extent in this context) "Commands and userspace components"
  • andypugh
  • andypugh's Avatar
03 Aug 2025 18:14

7i92 PDM and a Spindledriver board that need 5v

Category: Basic Configuration

I think that the 7i92 has bare IO pins, and in output mode I would expect them to be pulled-up to 5V when "on"

I would suggest testing with a multimeter.
  • Aleske
  • Aleske
03 Aug 2025 18:04 - 03 Aug 2025 18:15
Replied by Aleske on topic Problems with Lichuan Ethercat servo drive

Problems with Lichuan Ethercat servo drive

Category: EtherCAT

Hello,I am in the process of getting 4x Lichuan LC10E drives running in CSP mode. I have also observed the behavior of a large following error in CSP mode, as user Sandro mentioned in his post on 14 Sep 2024. After many hours of trying to run CSP mode without encountering a large following error, I suspect that parameter 6068 "Position window time" is to blame. The default setting is 16 ms, which I interpret as the drive having 16 ms to reach the required position. Together with parameter 6067 "Position window", this allows for a large following error while the drive still believes it is operating correctly.

Unfortunately, I am unable to change these values. Initially, I tried reading them with:"<pdoEntry idx="6068" subIdx="00" bitLen="16" halPin="position-window-time" halType="u32"/>"

But this gives me a changing value in HAL show with strange behavior as I would expect a steady value of 16When I try to write to 6068, I get the following error:
LCEC: Slave 0.3: Failed to execute SDO Download (0x6068:0x00, size 2, byte0=1, error -5, abort_code 0000000=)
 Maybe this helps someone with more knowledge of EtherCAT achieve accurate positioning in CSP mode.Best regards,
Alex 
  • michaelvdberghe
  • michaelvdberghe
03 Aug 2025 18:02
Replied by michaelvdberghe on topic Remora - ethernet NVEM / EC300 / EC500 cnc board

Remora - ethernet NVEM / EC300 / EC500 cnc board

Category: Computers and Hardware

hi guy's
i just finished flashing the firmware to my digital dream ec500v5 and upload the config file. now I'm i bit confused about proceeding and the documentation isn't making a whole lot a scene at the moment. I'm wondering do i need to make a hal file which contains the the pins from the ec500 and then let the main hal file call up the pin file?
I'm a total newby to this without any programming background. and the plan is to try and build a plasma table for my small buissnes.

thanks in advance
  • Lcvette
  • Lcvette's Avatar
03 Aug 2025 16:31
Replied by Lcvette on topic probe basic conversational macros missing?

probe basic conversational macros missing?

Category: QtPyVCP

there is no documentation link for writing conversational macros unfortunately that is something you need to know how to code yourself. you could make some subroutine variants fairly easily with the help of chatgpt but test them carefully. existing conversational in the mill was done by someone else outside of the qtpyvcp coding resource pool, and they haven't be active in several years which is why its only partially completed.
  • Lcvette
  • Lcvette's Avatar
03 Aug 2025 16:26
Replied by Lcvette on topic Surfacemap Z compensation with Probe Basic

Surfacemap Z compensation with Probe Basic

Category: QtPyVCP

kcjengr.github.io/probe_basic/probe_basic_parameters.html

these are all the parameters used by probe basic, they need to be listed in the var file for them to be persistent otherwise they will be volatile per linuxcnc docs.

please feel free to rewrite the docs, i absolutely would love for someone to handle that aspect as its not the easiest to find a way that everyone understands and clearly my approach could use some expert assistance!

the docs also are meant for the develop version. I have gotten a bit side tracked on another project and haven't had time to update the release from develop to stable, but it is what will soon be the stable version. when in doubt, its always best to check and see if the sim works, if it does but your machine config does not, you can move forward knowing their is an issue with your configuration files. you can always compare to the sim config files that do work and those should give you a working installation.
  • PCW
  • PCW's Avatar
03 Aug 2025 16:14 - 03 Aug 2025 16:14
Replied by PCW on topic RPi5 and 7C81, manual control is choppy

RPi5 and 7C81, manual control is choppy

Category: Basic Configuration

The jogging issue is probably the standard problem with KB repeat


The overshoot is likely a tuning issue, I would use the standard velocity mode/PID stepgen control
(use a pncconf created configuration for an example) Also make sure to use the DPLL for stepgen
configurations (use pncconf again as an example here)
  • PCW
  • PCW's Avatar
03 Aug 2025 16:07
Replied by PCW on topic Mesaflash is not able to find 5i25

Mesaflash is not able to find 5i25

Category: Driver Boards

Does LinuxCNC find the card?
  • langdons
  • langdons
03 Aug 2025 16:05
Replied by langdons on topic Interfaces & linear scale for LinuxCNC

Interfaces & linear scale for LinuxCNC

Category: General LinuxCNC Questions

If your current computer breaks, take out its hard drive and LPT card and put them into a different PC.

It will probably work just as if the original PC never broke at all!

The PC I was using to control the CNC router at my school didn't turn on one day after I shut it down and moved it.

I took out its hard drive and plugged it into a similar, older, not-broken PC; the new PC runs exactly the same as the one that broke!

You might have to change the LPT port number, but that's usually all.
  • langdons
  • langdons
03 Aug 2025 15:58
Replied by langdons on topic RPi5 and 7C81, manual control is choppy

RPi5 and 7C81, manual control is choppy

Category: Basic Configuration

Why not duplicate a working RTAI setup onto another PC and use that to control this machine?

Maybe it'll work!

When the motion stops, does LinuxCNC show anything?

That's really weird.

Are these stepper motors?
  • langdons
  • langdons
03 Aug 2025 15:55
Replied by langdons on topic Motion Jitter with LinuxCNC + EtherCAT

Motion Jitter with LinuxCNC + EtherCAT

Category: General LinuxCNC Questions

Also try unplugging unnecessary hardware, it could reduce latency a bit.

If you have a dedicated graphics card, try plugging it in and using it, it could reduce latency.

I wish LinuxCNC ran on BSD, it appears to be faster than Linux, though I have not used BSD in any serious way because it always fails to boot after install.
  • TheTinkeringMechanic1
  • TheTinkeringMechanic1
03 Aug 2025 15:54
Replied by TheTinkeringMechanic1 on topic Spindle speed?

Spindle speed?

Category: Basic Configuration

Got it! Now that I had RPM control forward and reverse with a bonus green GUI scale in both directions it was just a matter of adjusting this:

setp scale.0.gain 0.00275

To this:

setp scale.0.gain 0.008

Which so far is the closest to s300 command. I'll know more when I get an RPM gauge on it.

It may require some adjustments in the VFD. But I'm content with the progress so far.
  • --Matt--
  • --Matt--
03 Aug 2025 15:51
Replied by --Matt-- on topic Surfacemap Z compensation with Probe Basic

Surfacemap Z compensation with Probe Basic

Category: QtPyVCP

I think I'll have to go back a couple of steps and try to fix my probe basic config before I continue work on this.

I seem to be having the same trouble as this other user...

forum.linuxcnc.org/qtpyvcp/56674-probe-b...-parameter-variables

I was able to get basic probing routines working by manually editing the parameters in the var file. However, the link between values entered in the ui boxes and the var file seems to be broken. If you try to change a value by entering it in a box it just doesn't do anything.

Is there a place where all the necessary configuration steps are a set out clearly?

I was trying to follow these but evidently they are not totally clear and a bit lacking:

kcjengr.github.io/probe_basic/index.html

I think my config got messed up a couple of times, e.g. by copying values for an imperial machine into my metric machine's setup. The parts that need editing could be made a bit clearer.
  • my1987toyota
  • my1987toyota's Avatar
03 Aug 2025 15:19 - 03 Aug 2025 16:00
Replied by my1987toyota on topic Voron Life , for anyone going into 3D printing !

Voron Life , for anyone going into 3D printing !

Category: Additive Manufacturing

Good point tommylight Though I may modify the models for CNC machining .
  • GDTH
  • GDTH's Avatar
03 Aug 2025 15:00
Replied by GDTH on topic Mesaflash is not able to find 5i25

Mesaflash is not able to find 5i25

Category: Driver Boards

I have a small HP ProDesk 400 G3 SFF. From your suggestion i have looked at both devices (same pc type) bios settings, as of now nothing sticks out yet.
Displaying 646 - 660 out of 24237 results.
Time to create page: 0.653 seconds
Powered by Kunena Forum