Advanced Search

Search Results (Searched for: )

  • wusel0464
  • wusel0464
07 Nov 2025 16:14
Replied by wusel0464 on topic Touch Plate

Touch Plate

Category: Qtvcp

Hello,

I measure every tool after changing, this happens automatically. In principle, only an offset to the previous value is determined; I don't write anything into the tool table. That doesn't make sense to me either since I don't have an automatic tool changer.
Here's another link:
www.patreon.com/posts/29-linuxcnc-der-27282521?l=de
forum.linuxcnc.org/qtvcp/39423-qtdragon-...tool-change?start=30

Many greetings, Frank.
  • cmorley
  • cmorley
07 Nov 2025 16:10
Replied by cmorley on topic Rotary axis in Qtdragon_hd

Rotary axis in Qtdragon_hd

Category: Qtvcp

 

Do you want A to rotate around X?
if you load a tool and jog A is this what you see?
Can you test the simulated config?
  • clayton2ndtry
  • clayton2ndtry
07 Nov 2025 15:46

"file ./live/filesystem.squashfs failed the MDS checksum"

Category: Installing LinuxCNC

It appears the core problem is that 2.9 requires a 64 bit processor and my antique is a 686. I guess I will be staying in the past untilll I buy a new desktop.
  • ContinenteCNC
  • ContinenteCNC's Avatar
07 Nov 2025 15:44 - 07 Nov 2025 15:50
Replied by ContinenteCNC on topic New and Working RTAI debs for 2.9

New and Working RTAI debs for 2.9

Category: Installing LinuxCNC

So, is RTAI over?

I'm already feeling nostalgic.

How difficult will it be to use RTAI from now on (from LinuxCNC 2.9.5 onward)?

The most recent setup I’ve been able to get working is kernel 5.4.258 + LinuxCNC 2.9.4, using the following .deb packages (with isolcpus=3):

linuxcnc.org/dists/bookworm/base/binary-amd64/
linux-image-5.4.258-rtai-amd64_5.4.258-rtai-amd64-2_amd64.deb
linux-headers-5.4.258-rtai-amd64_5.4.258-rtai-amd64-2_amd64.deb
rtai-modules-5.4.258_5.3.3-linuxcnc-delta_amd64.deb

linuxcnc.org/dists/bookworm/2.9-rt/binary-amd64/
linuxcnc_2.9.4_amd64.deb

I was not able to get 5.4.290 + 2.9.4 working, nor 5.4.279 + 2.9.2. (I will post the error messages later.)

The 2.9.7 release notes state: "RTAI is still supported, but in the short term, building from source is likely to be the most expedient way to get 2.9.7 on that platform."

I’m wondering whether this is a reasonably straightforward process, or if it requires deeper OS-level debugging knowledge.
  • tommylight
  • tommylight's Avatar
07 Nov 2025 15:14
Replied by tommylight on topic booten dauert lange 1min 30 sek , alles ok

booten dauert lange 1min 30 sek , alles ok

Category: General LinuxCNC Questions

Add # in front of the line starting with
UUID=63aa136.......
save and exit, then reboot.
  • tommylight
  • tommylight's Avatar
07 Nov 2025 15:11
Replied by tommylight on topic realtime log position to txt use python script

realtime log position to txt use python script

Category: General LinuxCNC Questions

LinuxCNC already has that feature, it is called POSITION_FILE and should be added to the ini file in the [TRAJ] section, something like this
POSITION_FILE = last_position.txt
  • PCW
  • PCW's Avatar
07 Nov 2025 14:33
Replied by PCW on topic Bricked Mesa 7i92T

Bricked Mesa 7i92T

Category: Driver Boards

You can look at the .pin files in the firmware directory
to choose a appropriate pinout

7i92t_5abob_encd.bin for example has 5 stepgens and 6 encoders

Note that if you connect directly to encoders and motor drives:


1. The 7I92T I/O pins are like a bare parallel port pins and will be instantly damaged if connected to a voltage outside the -0.5 to +7V range. This is easy to do if system grounding is not 100% correct.

2. If you use bare 7I92T outputs to connect to step motor drives, they should be used in a a sinking configuration, as that is the only way to get full 5V drive:

DRIVE 7I92T
PUL+ +5V
PUL- 7I92 STEP PIN
DIR+ +5V
DIR- 7I92 DIR PIN
  • JT
  • JT's Avatar
07 Nov 2025 14:28
Flex GUI was created by JT

Flex GUI

Category: Flex GUI

What is Flex GUI?
It's a drag and drop GUI that requires no programming knowledge to build a GUI using the latest PyQt6.

Where are the Documents?
gnipsel.com/linuxcnc/flexgui/index.html

Where is the Flex GUI repository?
github.com/jethornton/flexgui

Where can I ask for feature requests or report a bug?
Here or on the repository github.com/jethornton/flexgui/issues or Libera.Chat channel #flex-dev

Are there any videos showing how to build a Flex GUI?
Version 1.3 www.youtube.com/playlist?list=PLzYeNVt90...b9GL6SDnoM1ItneA3s-K
Version 1.1 www.youtube.com/playlist?list=PLzYeNVt90...qACmFKau-nfGDKv-8WsD
Note: some items may have changed since doing these videos as we tested the snot out of Flex GUI
Version 1.0 www.youtube.com/playlist?list=PLzYeNVt90...FzJMaZwycZuHITzFxHgW

JT
  • fery15sty
  • fery15sty
07 Nov 2025 13:46 - 07 Nov 2025 13:49
Replied by fery15sty on topic realtime log position to txt use python script

realtime log position to txt use python script

Category: General LinuxCNC Questions

Thanks for your help. But position-log.txt doesn't show up to record.

I'm using LinuxCNC 2.8.4 Debian Buster.
  • karlhe
  • karlhe
07 Nov 2025 13:34 - 07 Nov 2025 14:15
Replied by karlhe on topic booten dauert lange 1min 30 sek , alles ok

booten dauert lange 1min 30 sek , alles ok

Category: General LinuxCNC Questions

  Hallo tommy,ich habe sudo nano /etc/fstab ausgeführt und
das sieht dann so aus:
siehe Foto
der uuid  / ext4  errors=remoundas sollte der sein. der gelöscht werden kann? 
karlhe
  • meister
  • meister
07 Nov 2025 12:49

realtime log position to txt use python script

Category: General LinuxCNC Questions

        outfile.seek(0) # seek to start of file (keeps only one line in the file)
        outfile.write(" ".join(row))
        outfile.flush() # immediately write to disk / performance warning !!!
  • meister
  • meister
07 Nov 2025 12:43

realtime log position to txt use python script

Category: General LinuxCNC Questions

better use python3
#!/usr/bin/env python3
#
#
import linuxcnc
import time

stat = linuxcnc.stat()

with open("position-log.txt", "w") as outfile:
    while True:
        stat.poll()
        row = []
        for n, axis in enumerate("XYZABCUVW"):
            stat.actual_position[n]
            row.append(f"{axis} {stat.actual_position[n]}")
            #print(f"{axis} {stat.actual_position[n]}")
            #outfile.write(f"{axis} {stat.actual_position[n]}\n")
        print(" ".join(row))
        outfile.write(" ".join(row))
        outfile.write("\n")

        time.sleep(0.1)
  • FPVUALAB
  • FPVUALAB
07 Nov 2025 12:42
Replied by FPVUALAB on topic Bricked Mesa 7i92T

Bricked Mesa 7i92T

Category: Driver Boards

Hello! Thank you for your support! I only use 7i91th.
  • fery15sty
  • fery15sty
07 Nov 2025 12:20 - 07 Nov 2025 12:29

realtime log position to txt use python script

Category: General LinuxCNC Questions

Can someone help me create a Python script to record positions in the event of a power loss or LinuxCNC error?

I plan to create an external real-time position logger with an update interval of 0.001 seconds. I use this feature for a wirecut machine. I'm using a Python script and have tried activating log_position_to_txt.py with the M-code command, but the position logging process results in a code overflow, causing the .txt file to grow uncontrollably.

Here's the code for log_position_to_txt.py:

##############################
#!/usr/bin/env python2.7
import linuxcnc
import time

stat = linuxcnc.stat()

with open("position-log.txt", "w") as outfile:

while True:

stat.poll()
x,y,z,a,b,c,u,v,w = stat.actual_position

outfile.write("X ")
outfile.write("{:.4f}\n".format(x))
outfile.write("Y ")
outfile.write("{:.4f}\n".format(y))

time.sleep(0.001)
####################################


Can someone help me fix my Python script so that... position recording does not result in code accumulation?
  • Todd Zuercher
  • Todd Zuercher's Avatar
07 Nov 2025 10:48 - 07 Nov 2025 10:49
Replied by Todd Zuercher on topic Delta Servo ASD-B2,

Delta Servo ASD-B2,

Category: General LinuxCNC Questions

I'm afraid we really don't have enough information to help you.

We have to assume that the new drive isn't configured the same as your old one. Are both the new and old drives the same model and version? (There are different models of Delta Servos that are the same size and look simular, but the motors from an older one are not compatible with a newer drive or vice versa.)

Do you have a back up of all of the parameters from the old drive? Assuming that your new drive is the same model as the old one, you would need to load the parameter settings from the old one to the new one in order for it to behave as before. If you don't have either a software backup of the parameters, or written down paper copy of the parameter settings, then you will have to figure out what they need to be. We can't really help you with that though unless you tell us how the motor/drivev is mis behaving.
Displaying 1081 - 1095 out of 22473 results.
Time to create page: 0.259 seconds
Powered by Kunena Forum