Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
17 May 2025 11:14
Replied by Hakan on topic el5151 reseting counts

el5151 reseting counts

Category: EtherCAT

Yes that would be a problem. Linuxcnc asks the encoder to reset the counter to zero and count continuously up/down from there. I don't know any details of this encoder so I guess it is reading the manual to find how that can be done. Luckily Beckhoff has ok manuals.
For velocity you can try the ddt hal function, generate velocity as the derivative of the position. Taking the encoder pin values is limited by the servo loop time and EtherCAT cycle time, anything faster than some hundred Hz will fail.
  • SanzuiWorks
  • SanzuiWorks's Avatar
17 May 2025 09:40 - 21 May 2025 03:45
Replied by SanzuiWorks on topic Manual Toolchange + Abs Z Probe (QtDragon)

Manual Toolchange + Abs Z Probe (QtDragon)

Category: Qtvcp

This requires QtDragon to support parsing (MDI_COMMAND, Gxx) output from FILTERs and executing it as an MDI command.  


load_wsc_from_ngc.py
import re
import linuxcnc
import os

def on_button_detect_wcs(self):
    filename = STATUS.file  
    if not os.path.exists(filename):
        print("G-code file not found.")
        return

    try:
        with open(filename, 'r') as f:
            for line in f:
                m = re.search(r'\bG5(4|5|6|7|8|9)(\.\d)?\b', line.upper())
                if m:
                    g_code = m.group(0)
                    print(f"Detected WCS: {g_code}")

                    c = linuxcnc.command()
                    s = linuxcnc.stat()
                    s.poll()
                    if s.task_state == linuxcnc.STATE_ON and s.interp_state == linuxcnc.INTERP_IDLE:
                        c.mode(linuxcnc.MODE_MDI)
                        c.wait_complete()
                        c.mdi(g_code)
                    else:
                        print("Interpreter not idle. Cannot send MDI.")
                    return
        print("No WCS (G54~G59.3) found.")
    except Exception as e:
        print(f"Error: {e}")

.ini
[FILTER]
PROGRAM_EXTENSION = .ngc G-Code File
FILTER = load_wsc_from_ngc.py .ngc


When you run the program directly, you can obtain the WSC, but it does not run automatically during the NGC loading.
  • aleene
  • aleene
17 May 2025 09:18

Could this board be a contender for a cheap alternative for simple applications?

Category: Driver Boards

Hello

I'm using the same controller and I might be able to assist.
The attached PDF file is all the documentation I received / I could find online.

The board seems to use a custom protocol - not TCP/IP based, I can see the MAC of the controller board.

The current control software is ~ a pain - i need to keep a specific windows 10 virtual machine to run it.
There's no linux support.
I've been thinking for some time to rip it out and replace it with a MESA 7i96S or something similar.

If you think there might  be any interest in this controller, please point me to a list of thing to prepare - protocol capture via wireshark / data dumps between the CPU and the ethernet controller, etc.

 
  • SanzuiWorks
  • SanzuiWorks's Avatar
17 May 2025 09:14 - 17 May 2025 09:17
Replied by SanzuiWorks on topic Manual Toolchange + Abs Z Probe (QtDragon)

Manual Toolchange + Abs Z Probe (QtDragon)

Category: Qtvcp

This is the first time I've seen the filter function. I need to learn about this first.
  • MarkoPolo
  • MarkoPolo
17 May 2025 09:00
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Maybe leave it as it is now, but add so that radioButton also works with true/false string for backward compatibility ?


 
  • cmorley
  • cmorley
  • cmorley
  • cmorley
17 May 2025 06:24
Replied by cmorley on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

I did update the docs but..
Maybe I should set true/false to be radio buttons too and add buttontrue/false.
  • cmorley
  • cmorley
17 May 2025 06:09
Replied by cmorley on topic QTDragon and DTG readout

QTDragon and DTG readout

Category: Qtvcp

You can use an MPG to scroll the gcode graphics and gcode editor and other widgets.
Set the button, touch the widget, the border should change, then it will scroll

You can check it out with the QtDragon_lathe sim 
  • cakeslob
  • cakeslob
17 May 2025 04:39 - 17 May 2025 05:34

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

hey Scott, my homies and i have the environment switching working, but we did a messy job to support a different board we were testing
github.com/cakeslob/Remora-STM32H7xx-PIO/tree/h723
  • cmorley
  • cmorley
17 May 2025 04:09
Replied by cmorley on topic QTDragon and DTG readout

QTDragon and DTG readout

Category: Qtvcp

overlay DRO can be selected from the options button
  • cmorley
  • cmorley
17 May 2025 04:09
Replied by cmorley on topic QTDragon and DTG readout

QTDragon and DTG readout

Category: Qtvcp

As a quick solution pull again:

 
  • djdelorie
  • djdelorie
17 May 2025 03:08

Two switches/sensors for tool length and 3d touching into motion-probe-in? Howto

Category: General LinuxCNC Questions

I would avoid the mux option unless you're VERY comfortable with your programming skills. I used a mux on mine, and the first time I did something unusual with the toolsetter I broke it off because it hadn't been enabled.
I still use separate inputs, but now it's so I can apply a different software noise rejection on each input (the toolsetter tends to trip from the tool change)
  • epineh
  • epineh
17 May 2025 02:40

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

Category: Computers and Hardware

Hey Ollie, with Riocore I've got 4 axis closed loop to the controller going on my mill, well only one axis for now but I've tested the other 3 will work, so thanks heaps for that !

The only issue is that if you use line reciever ic's (26LS32) and RJ45 sockets it all takes up a lot of PCB real estate. I'm thinking of utilizing an off board encoder solution. The LS7366 chip looks like a good candidate, its a 32 bit quadrature counter that will decode at 20 MHz at 3 volts. (40MHz at 5V)

This chip uses SPI, which I honestly know nothing about, my question is if I was to make a seperate 8 axis encoder board to cover all the axis's MPG, spindle etc, would that work with your existing SPI plugin ? And I'm not sure if the LS7366 will daisy chain or if there needs to be an additional IO pin per device, in which case it may not be worth the overhead.

Cheers.
Russell.
  • MarkoPolo
  • MarkoPolo
17 May 2025 00:58
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Great.

Everything works fine, that's what I wanted. Thanks a lot.

It would be good to update the documentation, because old ngc files with "MACRODEFAULTS=true,false" settings will stop working for some users after updating "MacroTab".

Marek
  • Benb
  • Benb's Avatar
16 May 2025 23:58 - 17 May 2025 00:15
Replied by Benb on topic Install Probe Basic

Install Probe Basic

Category: QtPyVCP

Your amd pc is a new hardware and you might need debian 13 Trixie but again you did not have problems loading debian bookworm mistry! If you want to try Linuxcnc rip installation which might work with your amd pc since its compiled. I have atttached is a step by step procedure. It worked for me using i5 mini pc with debian 12 bookworm RT with xfce option for desktop environment. 
edit: Once linuxcnc installed follow this procedure to instal qtpyvcp  

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

Displaying 3721 - 3735 out of 24608 results.
Time to create page: 0.243 seconds
Powered by Kunena Forum