Advanced Search

Search Results (Searched for: )

  • 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.
  • hermann1976
  • hermann1976's Avatar
07 Nov 2025 09:12
Replied by hermann1976 on topic Tipps für aktuelle LinuxCNC Hardware gesucht

Tipps für aktuelle LinuxCNC Hardware gesucht

Category: Deutsch

Hi Gartenzwerg,

ich habe deinen Post leider zu spät gelesen. Ich hätte noch einen Tipp für ein passendes Mainboard:
Asrock-n100dc-itx   inkl. CPU   -  und Parallel Header
Ich setze das bei meinem CNC Umbau einer Langlochbohrmaschine (Zinkenfräse) ein und macht einen guten Job. (Latenzen um die 8000), nur verwende ich nicht den Par. Port sondern über Lan.
Nur weil ich neugierig bin - von wo bist du im Osten Ö? : ich komme aus dem 3 Länder Eck: Stmk - Bgld - NÖ

lg 

 
  • Hakan
  • Hakan
07 Nov 2025 07:26 - 07 Nov 2025 07:49

Help with Inovance IS620N Servo Drive - Stays in PREOP

Category: EtherCAT

Yes more info is needed. I think you had that type of problem before, endian?

There is one setting. After reading through the esi file I see there is only DC sync supported, no async or sm sync.
Add this line to the xml file after the     <slave idx="0" line
      <dcConf assignActivate="300" sync0Cycle="*1" sync0Shift="0"/>

Edit. You already have that. It's early...
  • rodw
  • rodw's Avatar
07 Nov 2025 06:26
Replied by rodw on topic Ethercat HAL driver

Ethercat HAL driver

Category: EtherCAT

I think Intel is now promoting PREEMPT_RT and have their own optimized RT kernel so the linuxcnc/ethercat stuff is just a tutorial for their users...
  • laurentl38
  • laurentl38
07 Nov 2025 06:16

Diameter tool probing with toolsetter, basic probe

Category: QtPyVCP

Thanks for the documentation and this details, I'll read it carefully.

As for G-code, I'll have to delve deeper into it; for now, I'm far from mastering it.
  • emresensoy
  • emresensoy
07 Nov 2025 06:02
Replied by emresensoy on topic Fiatech exhibition - 9 axis ethercat setup

Fiatech exhibition - 9 axis ethercat setup

Category: Show Your Stuff

I put a simple stepper motor in the last row to show visitors that it can drive Ethercat motors along with stepper /dir motors.

YOu can find detailed information at;
www.egerobotics.com/ethercat-dig32-io-interface
www.egerobotics.com/ethercat-digital-analog-io-board
www.egerobotics.com/ethercat-encoder-interface
www.egerobotics.com/ethercat-pwm-rc-servo-interface
Displaying 1801 - 1815 out of 21892 results.
Time to create page: 0.252 seconds
Powered by Kunena Forum