Advanced Search

Search Results (Searched for: )

  • MennilTossFlykune
  • MennilTossFlykune
08 Aug 2025 13:28 - 10 Aug 2025 19:52
Replied by MennilTossFlykune on topic LinuxCNC randomly crashes reportedly due to Python bug

LinuxCNC randomly crashes reportedly due to Python bug

Category: Advanced Configuration

I've also been getting this in QtDragon_hd.
Fatal Python error: none_dealloc: deallocating None: bug likely caused by a refcount error in a C extension
Python runtime state: initialized

Thread 0x00007f9835f3c6c0 (most recent call first):
  <no Python frame>

Thread 0x00007f9863bff6c0 (most recent call first):
  <no Python frame>

Current thread 0x00007f98aa3ed040 (most recent call first):
  File "/home/user/Documents/linuxcnc/lib/python/qtvcp/widgets/state_led.py", line 140 in change_state
  File "/home/user/Documents/linuxcnc/lib/python/qtvcp/widgets/state_led.py", line 135 in _flip_state
  File "/home/user/Documents/linuxcnc/lib/python/qtvcp/widgets/state_led.py", line 237 in _set_halpin_text
  File "/home/user/Documents/linuxcnc/lib/python/qtvcp/widgets/state_led.py", line 130 in <lambda>
  File "/home/user/Documents/linuxcnc/lib/python/common/hal_glib.py", line 930 in update
  File "/home/user/Documents/linuxcnc/bin/qtvcp", line 463 in __init__
  File "/home/user/Documents/linuxcnc/bin/qtvcp", line 607 in <module>

It was caused by this commit:
github.com/LinuxCNC/linuxcnc/commit/656a...de1ab167c3e89f700a7e

In halmodule.cc, if all occurrences of
return Py_None;
are changed back to
Py_RETURN_NONE;
the error goes away.
  • PCW
  • PCW's Avatar
08 Aug 2025 12:58 - 08 Aug 2025 17:52

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

Category: G&M Codes

The message is coming from bash (the current command line shell)
but I think the path in the script doesn't point to a bash executable.

That is, unless ./M101 works, it cannot work in LinuxCNC... 


 
  • tommylight
  • tommylight's Avatar
  • Philip Lydin
  • Philip Lydin
08 Aug 2025 11:08
injection mold machine custom gui was created by Philip Lydin

injection mold machine custom gui

Category: General LinuxCNC Questions

Hi everyone,I'm planning to build an automatic desktop injection molding machine and I'm considering using LinuxCNC to control it. The machine would have a few coordinated axes (like mold open/close, injection plunger, ejector, etc.) and a handful of I/O for heaters, sensors, and safety systems.I'm wondering how difficult it would be to create a custom GUI tailored specifically for this application, something more user-friendly than the standard CNC interface, and focused on things like , mold settings, heater status, and injection parameters.
  • rodw
  • rodw's Avatar
08 Aug 2025 10:14 - 08 Aug 2025 10:15
Replied by rodw on topic SCATECH EV1616DN - Example config

SCATECH EV1616DN - Example config

Category: EtherCAT

Great work. time to adopt Ethercat all the way!. rtelligent and leadshine both have Ethercat stepper drives. If open loop, both have two channel drives. Not sure wat you have but for a gantry XYYZ machine, you only need two drives! There is some native support in the lcnc Ethercat driver. Should be a breeze now you know how to write the xml file :) 
  • rodw
  • rodw's Avatar
08 Aug 2025 09:57

Lichuan LC10E Ethercat Absolute - 10mm following error

Category: EtherCAT

I don't have any experience with EtherCAT

I really think HeadHoncho Andy should get his feet wet in the Ethercat pond :)
  • rodw
  • rodw's Avatar
08 Aug 2025 09:51
Replied by rodw on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

Can someone suggest a way out?
-automata

Use qtdragon or probe basic (says he Facetiously) :)
  • RoberCNC
  • RoberCNC
08 Aug 2025 09:40
LiCHUAN A5 AC Servo Fine tunning was created by RoberCNC

LiCHUAN A5 AC Servo Fine tunning

Category: Advanced Configuration

I'm having fine-tuning issues with the popular LiCHUAN servos. After initial setup and configuration, I'm experiencing problems with small circles. Instead of circles, I'm getting ellipsoids. Has this happened to anyone else?
The manufacturer simply varies two parameters that I've already modified without solving them. I'm sure it's due to these drivers, since I previously installed DMM servos and this didn't happen. I ran the autotuning program and got perfect circles.
The LiCHUAN servos don't have an autotuning program, which leads me to think it's due to manually adjusting some of the multiple parameters, but I don't know which ones or how.
  • unknown
  • unknown
08 Aug 2025 08:26

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

Category: G&M Codes

I thought the message was coming from bash.
  • mgm
  • mgm's Avatar
08 Aug 2025 07:20 - 08 Aug 2025 07:23
Replied by mgm on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

Starting point after referencing the machine:
- The cylinder for spindle support is extended 

The spinport.comp component monitors the position of the axis.
- When the axis reaches position 900, the cylinder is retracted, and when the axis reaches position 1600, the cylinder is extended again.
position axis.x.pos-cmd > 900 Cylinder retracted
position axis.x.pos-cmd > 1600 Cylinder extended 

What I need now is a check to see whether the cylinder is really retracted at the axis position between 900 and 1600 so that the axis can move through!For monitoring purposes, the cylinder is equipped with a reed contact when retracted.

Another factor that must be taken into account during monitoring is that the axis travels a certain distance during the time the cylinder is moving.The spindle support is at the axis position 1250 and I am traveling at a maximum speed of 4 m/s.

After thinking about it, also with your help, all that really needs to be checked is whether the cylinder is retracted between axis positions 1000 and 1500. 

position axis.x.pos-cmd > 1000 and < 1500 ---> cylinder retracted 

I think 100 mm in both directions should be enough for the cylinder movement!?!If that is the case, everything is fine. If the cylinder is not retracted, all axes must be stopped. 

Now the only question is whether the check should be monitored in the spinport.comp file or in the HAL,and what could the code look like?  
  • automata
  • automata
08 Aug 2025 07:05
Replied by automata on topic scurve trajectory planner

scurve trajectory planner

Category: General LinuxCNC Questions

Hi, is there any more testing and progress on the scurve planner to report?
-automata
  • automata
  • automata
08 Aug 2025 07:00
Replied by automata on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

Hi, anyone got latest pathpilot v2.12 code working with python3 or get python2 installed in any recent version of debian?
I have V2.12 source code but can't compile it with python3 on debian bookworm. Now can I install python2 (easily) on debian bookworm.
Can someone suggest a way out?
-automata
  • PCW
  • PCW's Avatar
08 Aug 2025 04:17
Replied by PCW on topic Bitfile for 6i25+7i74+7i85

Bitfile for 6i25+7i74+7i85

Category: Driver Boards

Sure, I'll try and do this sometime tomorrow 
  • tommylight
  • tommylight's Avatar
08 Aug 2025 02:52
Replied by tommylight on topic Axyz retrofit - limits and homing

Axyz retrofit - limits and homing

Category: CNC Machines

1. yes
2. yes
-
Mesa 7i96S can have inputs set as active low or active high, so pretty much any sensor works.
LinuxCNC can use a single switch to do homing and both limits for any of the axis/joints.
Do download and read the Mesa manual while connecting sensors, it will save you a lot of time.
Displaying 286 - 300 out of 24279 results.
Time to create page: 0.445 seconds
Powered by Kunena Forum