Advanced Search

Search Results (Searched for: )

  • PeanutBlade
  • PeanutBlade
04 Feb 2025 11:48 - 04 Feb 2025 11:49

LinuxCNC with raspberry Pi5. Ethercat and step/dir interface.

Category: General LinuxCNC Questions

Good day all,

I wanted to share my experiences using the Raspberry Pi 5 to run my CNC machine and ask for some advice, as I am not sure where to go from here.

Please note, I am a novice at best!

To my surprise, I managed to set up LinuxCNC with EtherCAT to run my A6 servo motors that I got from StepperOnline. I am using the Probe Basic UI, and I love the setup so far. Big thanks to RodW for all the work and instructions on setting up EtherCAT.

I am also using an Arduino Mega connected to the Pi for general-purpose I/O—this also works great. (Using LinuxCNC_ArduinoConnector from: github.com/AlexmagToast/LinuxCNC_ArduinoConnector) This will mainly be used for buttons and tool changer I/O, so latency is not an issue. An EtherCAT I/O module would be better, but they are rather pricey.

What I would like to do is add a step/dir interface for my Z-axis, as this is still driven by a closed-loop stepper motor (my X and Y axes are EtherCAT). I want to be able to run the motor at a maximum of 200 kHz step rates. In the future, I would like to add a second Z-axis as well.

What I have tried:
  • Using the GPIO pins from the Pi, but this does not generate step rates fast enough to run the motor. This also causes some latency issues, as the step generation is now done on the Pi.
  • I switched out the Pi 5 for a Pi 4 (since SPI is not supported on the Pi 5) and tried using the Remora SPI interface to run a BTT SKR 1.4 as an external step generator. However, this also had a maximum step frequency that was too low. Additionally, I would prefer to use the Pi 5 instead of the Pi 4.
I would also like to build a second machine using only stepper motors with a step/dir interface. My motor drivers accept a maximum of 200 kHz.

I am looking for a solution that will allow me to run LinuxCNC on a Pi 5 with external step generation around 200 kHz that is not too pricey.

Any advice on which direction I should go next would be greatly appreciated.
  • Sternfox
  • Sternfox
04 Feb 2025 11:40
Probing keeps failing was created by Sternfox

Probing keeps failing

Category: QtPyVCP

Hi,

I'm trying to calibrate my probe, esch time i start any probing routine the pribe will only teavel down 0.5mm even though i have the max z clearance set way above this. No matter what i change i get the same results. I'm on version 2.9 

Here are my settings (mm)
File Attachment:
 

 
  • spumco
  • spumco
04 Feb 2025 11:32
Replied by spumco on topic caxis.comp - How to freewheel axis/spindle?

caxis.comp - How to freewheel axis/spindle?

Category: HAL

Yes, I created the file on a Win computer... but I used VS Code.  Haven't had any of the typical 'wordpad' issues others have reported when using Win to edit/create files until now.

I'll create a new one from scratch on the Debian PC and see how it goes.  Thanks again.
  • Badutis
  • Badutis
04 Feb 2025 11:02

CNC Plasma cutters, DIY, building info and guide

Category: Plasma & Laser

i did the test. Does not work in the air.
How do I understand the best option to buy a new plasma cutter for CNC machines with Pilot Arc?
I saw that Stahlwerk CUT 70 with Arc Pilot is not expensive on amazon.de. costs about €450. I saw there was a discussion about this plasma cutter before. is it worth buying it or are there any proven and more profitable cutters?
  • amanker
  • amanker
04 Feb 2025 10:34
Replied by amanker on topic How to use Rcservos as axis motor.

How to use Rcservos as axis motor.

Category: Basic Configuration

I was able to move servo. But motion is too jerky. And servo is starting from any position. G0 x0 don't move to servo 0. It moves to where it was started.
  • tommylight
  • tommylight's Avatar
04 Feb 2025 10:10

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Halshow has the reading fluctuating from about -3650 -> +3650 with no plasma source having power.

Repeating myself here, interference, lots of it, so check the wiring and especially the grounding, ground loops will cause havoc.
  • tommylight
  • tommylight's Avatar
04 Feb 2025 09:55
Replied by tommylight on topic HAL and INI files for Dual Y Axis, HY VFD

HAL and INI files for Dual Y Axis, HY VFD

Category: Advanced Configuration

You are welcomed, always.
  • Nserega.90
  • Nserega.90
04 Feb 2025 09:12 - 04 Feb 2025 09:16
Replied by Nserega.90 on topic Flexible GUI

Flexible GUI

Category: Flex GUI

Hello guys! I want to thank JT very much for the work done! This is very cool! After reading the documentation, I want to try to make a graphical interface for a CNC lathe. I'm not good at programming, it's easier for me to sit with a soldering iron in my hands))). But I think something will work out))) Question: I want to implement a light and dark theme. Can I make a switch to change the theme (light/dark)? So as not to write this in the .ini file. So that I would have the opportunity to switch the topic from the program! 
  • Martin.L
  • Martin.L
04 Feb 2025 08:41
Replied by Martin.L on topic Rack Tool Changer

Rack Tool Changer

Category: QtPyVCP

Hi, any update on this topic? I'm also on the way of setting up a rack atc
  • Martin.L
  • Martin.L
04 Feb 2025 08:40

Probe basic absolute encoders reset position to zero

Category: QtPyVCP

Thank you, the issue was inside servo parameters, somehow all three have been swapped to incremental.
  • Aciera
  • Aciera's Avatar
04 Feb 2025 08:38
Replied by Aciera on topic caxis.comp - How to freewheel axis/spindle?

caxis.comp - How to freewheel axis/spindle?

Category: HAL

Note the backslash-r in ‘python3\r’.
Seems that you have a problem with line endings, did you handle the file on a windows system?

If you have to use Windows maybe this helps:
sberahimzadeh.medium.com/solve-the-error...python3-f58dcf02add4
  • meister
  • meister
04 Feb 2025 08:27

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

ok, until I have a better solution,
I have added a new 'type' (201 : Custom Boolean)

sample config (gui setup will not work / need to added by hand in the json config):
        {
            "type": "modbus",
            "pins": {
                "tx": {
                    "pin": "MODBUS:TX"
                },
                "rx": {
                    "pin": "MODBUS:RX"
                },
                "tx_enable": {
                    "pin": "MODBUS:TX_ENABLE"
                }
            },
            "uid": "modbus0",
            "config": {
                "relais1": {
                    "type": 201,
                    "address": 11,
                    "on": [6 ,0, 1, 1, 0],
                    "off": [6 ,0, 1, 0, 0],
                    "timeout": 100,
                    "delay": 60,
                    "direction": "output"
                }
            }
        }

"on": the bytes of the frame to switch the output on (without address and checksum)
"off": the bytes of the frame to switch the output off (without address and checksum)
  • bkt
  • bkt's Avatar
04 Feb 2025 08:02

touch screen QT6 GUI probelm -- solved setting XI2=0

Category: Advanced Configuration

insert in [DISPLAY] section of my .ini file these row ... the situation seems littel bit better .... but not perfect:

PROGRAM_PREFIX = QT_LOGGING_RULES="qt.qpa.input=true"

now try with bash script .....
  • onceloved
  • onceloved's Avatar
04 Feb 2025 08:01

EtherCAT + lcec + cia402 + PID on A6-1000EC in velocity control mode

Category: EtherCAT

You can add me on discord, my username is onceloved.cn I can use TeamViewer to remotely configure for you
  • bkt
  • bkt's Avatar
04 Feb 2025 07:58 - 04 Feb 2025 08:00
Replied by bkt on topic good day to all (in some gtp languages)

good day to all (in some gtp languages)

Category: Off Topic and Test Posts

I was born at 1100m, I find it hard to like summer more than winter....even though I've wanted to get a boating license for years (and right now I know I don't have the time ) .... in 1 hour I can be at the seaside ...

But if at your home in winter register -17°C there is certainly someone who puts on skis with skins and goes uphill... then takes them off and goes down... or not?
Displaying 19516 - 19530 out of 19592 results.
Time to create page: 0.423 seconds
Powered by Kunena Forum