Advanced Search

Search Results (Searched for: )

  • andypugh
  • andypugh's Avatar
08 Aug 2025 19:26
Replied by andypugh on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

Maybe a more-fun project would be to make the 9-axis blending work with LinuxCNC.

github.com/LinuxCNC/linuxcnc/tree/Tormach_9_axis

This was just an experiment to see what happens if you replace the LinuxCNC tp folder with the Tormach one.

I haven't even bothered trying to compile it, the point is to examine all the points of difference by looking at the diff:

github.com/LinuxCNC/linuxcnc/pull/3524
  • Firehunter
  • Firehunter
08 Aug 2025 19:09
M66 keeps waiting was created by Firehunter

M66 keeps waiting

Category: G&M Codes

I have configured a hydraulic tailstock on a CNC lathe. It has 2 valves (in/out) and 2 proximity sensors (min/max). I want to use M-codes to control the tailstock, but I can't get M66 to work. M64 and M65 do work properly. I've attached the sensor inputs to motion.digital-in-00 and 01. I can see the signals changing low/high in halshow. But when I try to test this functionality with a small G-code file, it keeps waiting on the M66 line.
%
M64 P2 ; turn extend tailstock valve on
M66 P1 L4 Q10 ; wait for max sensor signal to go low
G4 P5 ;  wait 5 seconds just for testing purposes
M65 P2 ; turn extend tailstock valve off
M64 P1 ; turn retract tailstock valve on
M66 P0 L3 Q10 ; wait for min sensor signal to go high
M65 P1 ; turn retract tailstock valve off
M30
%

It keeps waiting on line M66 P1 L4 Q10. Even if I manually turn the sensor on/off, it doesn't do anything. But when I use this line in MDI, it works without problems. When I use MDI I can see the gmoccapy interface "freeze" when I execute this line. It "unfreezes" when the sensor is operated.

Why doesn't my G-code work?
  • andypugh
  • andypugh's Avatar
08 Aug 2025 19:08
Replied by andypugh on topic LiCHUAN A5 AC Servo Fine tunning

LiCHUAN A5 AC Servo Fine tunning

Category: Advanced Configuration

Elipsoids sounds like a difference in dynamic motion between the X and Y axes. The two probably have different masses, and will have diferent limits.
You may need to reduce the accelerations in the INI to something that both joints can follow. If that makes things circular again then you can maybe look at tuning to improve dynamic resonse, but you will still need to set the accel limits to whatver the slower joint can manage,
  • Kieran
  • Kieran
08 Aug 2025 19:00

Stepperonline A6 - How to properly Tune them?

Category: EtherCAT

Im in the same boat, going to need to tune my a6 servos soon. did you get the tuning software to work? I havnt messed with it much but I couldn't get my win10 desktop to talk to the servo drive. I will have to fire up my laptop, as my desktop now has win11. Im kinda hoping there is an easy way to send parameters to the drives through the linuxcnc computer through the ethercat. I will say I have messed with a Haas VF11 mill, and I was able to move its big y axis ball screw by hand a few degrees. I dont think you can really get rid of all the "mushyness" in a servo.
  • andypugh
  • andypugh's Avatar
08 Aug 2025 18:56

Request for Community Feedback on g-code++ (sterp) Integration with LinuxCNC

Category: Show Your Stuff

Does this exist as an alternative plug-in interpreter for LinuxCNC?

LinuxCNC already supports this, though the only alternative that currently exists is called canterp and just passes canonincal commands straight through.

I don't know how much traction you will get with a new G-code dialect, not even well-supported alternatives to G-code like STEP-NC have made much of a dent.

If it's a plug-in interpreter for existing LinuxCNC then I would support it's inclusion in principle.

Are you committed to supporting it for the next 20 years or so?
  • robh
  • robh
08 Aug 2025 18:33
Replied by robh on topic injection mold machine custom gui

injection mold machine custom gui

Category: General LinuxCNC Questions

Sounds interesting project

Will be looking out for build progress etc as this interests me , I have a few machines with old controls , they are no more than fancy plc inside with custom hydraulic servo valve control boards

All travel distances read by from transducers .. so I can see hal and ladder maybe few custom hal comps to drive valves all you need , so a nice gui you can see parameters , live data like injection pressures so can tweak mold run . Load and save part setup is key

Hope you make progress on this
  • Pashtet
  • Pashtet
08 Aug 2025 17:19

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

Category: G&M Codes

The thing is that true/false has nothing to do with it. I tried 1/0, the result is the same. But I'll try the path to bash.
  • Benb
  • Benb's Avatar
08 Aug 2025 15:56
Replied by Benb on topic Switch relay in a defined x position

Switch relay in a defined x position

Category: Advanced Configuration

Attached is revised spinport.comp which incorporate 

position axis.y.pos-cmd > 1000 and < 1500 ---> cylinder retracted and halt any axis movement

Note your hal configuration is monitoring y-axis.
  • tommylight
  • tommylight's Avatar
08 Aug 2025 14:27
Replied by tommylight on topic Bitfile for 6i25+7i74+7i85

Bitfile for 6i25+7i74+7i85

Category: Driver Boards

Its a bit of an odd configuration. is It the really a 7I85 + 7I74?
 

I was wondering the same thing.
  • automata
  • automata
08 Aug 2025 14:18
Replied by automata on topic PathPilot V2 source code

PathPilot V2 source code

Category: PathPilot

I am not really looking for the pathpilot UI.
The Tormach version has look ahead applied on all 9 axes (as opposed to only XYZ for vanilla linuxcnc v2.9).
Also I wanted to see if they have applied the dpll patch needed to operate Ethercat drives with lower jitter (github.com/sittner/linuxcnc-ethercat/blo...-functions-2.8.patch). My conclusion on this front is that they have not.
Further they sent over non-compilable code - there is a bunch of uncommented FIXMEs and TODOs littered over the code and it does not even compile.
So Tormach is definitely not playing by the rules of GPLv2.
And it uses python2 (and python3 in some places) to the point that it is not compilable on Bookworm. Neither it is compilable on Stretch.
-automata
  • PCW
  • PCW's Avatar
08 Aug 2025 14:13
Replied by PCW on topic Bitfile for 6i25+7i74+7i85

Bitfile for 6i25+7i74+7i85

Category: Driver Boards

Its a bit of an odd configuration. is It the really a 7I85 + 7I74?
That would normally end up with  4 encoders and 13 sserial
channels, and no PWM or stepgens. Is this what you intended?


 
  • GDTH
  • GDTH's Avatar
08 Aug 2025 13:39
Replied by GDTH on topic Mesaflash is not able to find 5i25

Mesaflash is not able to find 5i25

Category: Driver Boards

Okay, so I still don’t know exactly what the issue was. I checked the BIOS and compared it with another PC, but nothing stood out. After a while, I decided to just reinstall LinuxCNC 2.9.4 — and this time, it worked.
It might be because I installed other software in a different order; this time, I set up EtherCAT and everything else right away. I also removed the annoying
raspi-firmware
package, which could have been the culprit as well.
  • 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... 


 
Displaying 271 - 285 out of 24287 results.
Time to create page: 0.251 seconds
Powered by Kunena Forum