Advanced Search

Search Results (Searched for: )

  • Japoo_Ness
  • Japoo_Ness
07 Aug 2025 16:47

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Excellent, it doesn't have a tool changer, which is a plus. I would like to add one eventually if possible, but that’s more of a future upgrade.

Regarding the spindle control, that’s an area I want to dive deeper into, but I'm not sure where to start.
From what I understand, important aspects would include direction of rotation, speed control, and handling alarms or faults. Is there anything else I should be considering?
  • Aleske
  • Aleske
07 Aug 2025 16:25 - 07 Aug 2025 16:26

Lichuan LC10E Ethercat Absolute - 10mm following error

Category: EtherCAT

@andypugh I started from the Marco Reps config. Everything is working as intended except for the delay/following error in the servo drive. I suspect the error to be within the drive, but I uploaded the configs as I am no LinuxCNC EtherCAT professional, and there is always the possibility of some stupid errors. The drive-internal parameter for following error is staying at 0. It is always exactly 0, so that could be a bug as well.

@PCW I tried CSV mode (without success, as the problem seems to be there as well but with different symptoms), and within the scope I can see the first reactions to the control signal within 3–4 ms. So I suspect EtherCAT is running fine and without (or at least with a very small) delay. I think I can confirm the existence of some form of filter, as acceleration values of 10,000–20,000 mm/s² are smoothed out a lot compared to a similar machine with 1 kW servos with step/dir signals.
Regarding the poor position loop – I have had settings without this oscillation, but I was trying around with pretty much all settings within the drives and was at the point of giving up when taking the screenshot. All plots without oscillations had similar bad following errors.

@Hakan Switching to CSV mode and including LinuxCNC within the feedback loop was reported successful by other users, but I was not able to get it working with a following error of <<0.5 mm. As including LinuxCNC within the feedback loop creates many more parameters to be tuned (LinuxCNC PID and parameters within the drives), that turned out to be a very time-consuming project without any real success.All in all, the Lichuan support was very unhelpful, and after trying to tune just one of the four drives (Z-axis first) for about three days, I am thinking of ditching the Lichuan drivers and motors and using Leadshine servos. If there are any ideas, I am open to trying almost everything :) Thanks in advance.Alex
  • PCW
  • PCW's Avatar
07 Aug 2025 16:05

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

pin 'hm2_7i95.0.ssr.00.out-01' is connected to a signal

Is the error, you cannot change the state of a pin that's already drive by a signal in hal
You would need to delete (or comment out) the net command that connects
hm2_7i95.0.ssr.00.out-01 to a signal in your hal file for the MXXX script to work.
 
  • seuchato
  • seuchato
07 Aug 2025 15:09

M1xx: Controlling Relays (solenoids) from within axis MDI

Category: Advanced Configuration

langdons
Thx for you pointing this out and your hint on 5V relay.
I do have a parport based router. All pins are used, and still I want my vacuum clamping, dust extraction, myst (maybe) etc. to be operable from within axis (in my case).

greez
chris
  • Pashtet
  • Pashtet
07 Aug 2025 15:06

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

Tried it two ways, still doesn't work. In the first case it gives an error.

pi@raspberrypi5:~/linuxcnc/nc_files $ ./M101
bash: ./M101: cannot execute: required file not found
pi@raspberrypi5:~/linuxcnc/nc_files $ bash M101
<commandline>:0: pin 'hm2_7i95.0.ssr.00.out-01' is connected to a signal
: numeric argument required
  • PCW
  • PCW's Avatar
07 Aug 2025 14:04 - 07 Aug 2025 14:05

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

Does the script work if run from the command line?

 That is, does:

./M101

work?
 
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Aug 2025 13:46

Custom M codes don't work on Rasberry Pi 5 + Messa 7i95

Category: G&M Codes

Does the command you are trying to use in the M-code, work in a terminal from the command line?

Do you get any error messages in the terminal when you try to run the M-code if you start Linuxcnc from the command line?
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Aug 2025 13:25

Retrofitting a 3-axis VMC with DC servos - guidance needed

Category: Driver Boards

Sounds like it should be a straight forward analog system conversion. What about things like the spindle controls, does it have a tool changer?

Best advice, is first thing e-stop circuits, then get encoder feedback working, then the servo drive enable\disable, then add safeties (limits etc), then confirm directions are correct, finally tune your position loops.
Displaying 14131 - 14138 out of 14138 results.
Time to create page: 0.407 seconds
Powered by Kunena Forum