Advanced Search

Search Results (Searched for: )

  • mgiaco
  • mgiaco
29 Apr 2026 10:48 - 29 Apr 2026 10:51

Mesa 7i76e pncconf open loop stepper leadshine

Category: HAL

Hi,
Can someone please give me some more information about how to use linuxcnc with mesa 7i76e for leadhine stepper controllers. I generated the config with pncconf but there is no way to choose open or closed loop. So the tool generated closed loop i found on github this config.

github.com/medicusdkfz/LotteCNC

so i changed also like he dose back to open loop but is this correct`?

# ---closedloop stepper signals---

#net x-pos-cmd    <= joint.0.motor-pos-cmd
#net x-vel-cmd    <= joint.0.vel-cmd
#net x-output     => hm2_7i76e.0.stepgen.00.velocity-cmd
#net x-pos-fb     <= hm2_7i76e.0.stepgen.00.position-fb
#net x-pos-fb     => joint.0.motor-pos-fb
#net x-enable     <= joint.0.amp-enable-out
#net x-enable     => hm2_7i76e.0.stepgen.00.enable

# ---openloop stepper signals---

net x-pos-cmd    <= joint.0.motor-pos-cmd
net x-pos-cmd    => hm2_7i76e.0.stepgen.00.position-cmd
net x-pos-fb     <= hm2_7i76e.0.stepgen.00.position-fb
net x-pos-fb     => joint.0.motor-pos-fb
net x-enable     <= joint.0.amp-enable-out
net x-enable     => hm2_7i76e.0.stepgen.00.enable

But what about the PID why i need the PID? Do i need to change anything on the PID settings? 
Dose anyone can share a config for a open loop steper for mesa 7i76e

Here i will share my working config and i will commit my progress here if anyone needs this

github.com/mgiaco/ecam_cnc

Thanks alot
mathias
 
  • MiMaMoadlo
  • MiMaMoadlo
29 Apr 2026 10:48

No unhoming after emergency-stop or limit-sw trigger

Category: General LinuxCNC Questions

I encountered the same problem.
My external Estop disables the servo drives through a saftey relay and triggers the Estop signal in Linuxcnc.
When I press the Estop during a program it seems like the program stops not as fast as the drives.
Therefore the GUI positions do not match the actual positions.

Volatile_Home works for my since Estop is the only condition which causes a difference, but I agree that a unintentional triggered limit should unhome the corresponding axis.
Is there a way to achieve this?
  • grandixximo
  • grandixximo's Avatar
29 Apr 2026 10:01
Replied by grandixximo on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

Ok, I'm not sure I can help you with the latency and the Y errors way out of scope of the probing issue, you had another 2.9 that was working ok, where you could patch my changes?
  • abs32
  • abs32
29 Apr 2026 08:14 - 29 Apr 2026 08:16

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

The default setting of 20,000 corresponds to a maximum pulse frequency of 50 kHz. An LPT system with a high-quality cable and control board can handle much higher frequencies. 10,000 corresponds to only 100 kHz. I managed to stabilize the latency test at a level no higher than 2500.
My stepper motors run at speeds of up to 20,000 mm/min.
  • Surmetall
  • Surmetall's Avatar
29 Apr 2026 07:34
Replied by Surmetall on topic LinuxCNC and Beckhoff AX5000 servo drives

LinuxCNC and Beckhoff AX5000 servo drives

Category: EtherCAT

Hi endian,

thanks a lot.
I am using the generic driver.
Yes, the AX5125 is currently at slave 7. I will move it to the first position on the bus as soon as I am back in the shop.

The current active AX PDO entries in ethercat-conf.xml use subIdx="00", not 0x01:
0x0086:00
0x002F:00
0x0087:00
0x0033:00
0x00BD:00

Current active AX config:
generic
configPdos="false"
reduced PDO mapping
dcConf assignActivate="730" sync0Cycle="250000" sync1Cycle="0"
I also exported the AX5125 selected item from TwinCAT and now have the full SoE InitCmd export.

My next steps are:
move the AX5125 to the first position on the bus
change the active PDO subindexes from 00 to 01
move IDN 33072 to the end of the InitCmd list

I am very grateful for your help and also for your converter tool.
At the moment I am also using AI to help me work through this problem. I am not blindly copying what it suggests. I mainly use it to learn how this integration works.
My long-term goal is to add a second AX double motor drive as well, but first I want to get this AX5125 running and understand what I did wrong so I can avoid the same mistakes in the future.
What also makes me curious is that your export/converter result worked much better than my own attempt.
Do you have any idea what I may have done wrong when exporting or preparing the file?
  • xenon-alien
  • xenon-alien's Avatar
29 Apr 2026 07:33
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

Here is the encoder input circuit, you can check if the 26LS32 is faulty by seeing of the
outputs follow the input state. (the outputs are inverted from the TTL input levels)

 

If the pins are correct (3. 5. 13.), there are no movement on the not working channels.
Can I force 5v to this pins (via wire from 5v supply from the stepper pins) to see in hal show will it change or not?

 
  • tommylight
  • tommylight's Avatar
29 Apr 2026 05:06
Replied by tommylight on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

If that is the same result for both cards, seems both are OK>
Check wiring and voltage at the Mesa inputs, might be to low to trigger.
  • xenon-alien
  • xenon-alien's Avatar
29 Apr 2026 05:01
Replied by xenon-alien on topic 7i96S card arrived what setup is recomended

7i96S card arrived what setup is recomended

Category: Driver Boards

Also the 26LS32 does not connect to the FPGA directly but rather through U13 (74CBT16211
level shifter) If U13 was damaged (by say a mistake in P1  connections) this could cause an
encoder issue as U13 is shared by the encoder interface and the P1 parallel expansion port.

You can do a quick check of U13 with mesaflash (assuming P1 is unconnected):

mesaflash --device ethernet --address [card-address] --rpo 0x1008

This should respond with: 0001FFFF (the all high open circuit port data for the parallel
expansion port = P1). Damaged U13 I/O pins that connect to P1 will typically be stuck low.


 

To the P1 just connected the axis indexes (1-5 pins - you did the firmware to me) 50-100Om through resistor as you wrote me (5v supply GND to the driver and from the driver back to the P1  through a  100Om resistor)
On the table there wont be a phisical connection to P1, just 5v supply.
Here it is (both has the same respond):
 
  • ffffrf
  • ffffrf
29 Apr 2026 03:15

How complex would this DIY Swiss style lathe conversion be to set up hal/ini?

Category: Advanced Configuration

Going to try and explain the project in a way that y'all can imagine as I feel like it should not be too difficult to program in linuxcnc but I wanted to hear the community's inputs

project: Regular Taig CNC lathe with the 5c headstock. I have already converted the 5c headstock to a guide-bushing-esque headstock. My plan is simple: add a second linear "Z axis" that holds a servo that spins the stock and can also move forward and back to feed the stock through the guide bushing headstock. This guide bushing 5c headstock is thus unpowered.

My thought: Could I just have this new axis be the official Z axis, and have the native tag Z axis be another regular linear axis where it simply acts as one of the offset parameters when setting tool offsets? So the only movement the regular taig Z axis would do is move when switching to a different tool such as drills or boring bars of various lengths, while the newly added Z axis behind the headstock acts as the primary Z axis.

I have all of the build details down so I don't think that will be a problem, but I want to know if you guys suspect it will be hard to code in linuxcnc. I do have experience setting up regular lathes & 3/4 axis cnc machines.
  • tommylight
  • tommylight's Avatar
29 Apr 2026 02:59
Replied by tommylight on topic (Solved) G43 not being applied in g-code

(Solved) G43 not being applied in g-code

Category: General LinuxCNC Questions


Mods - please marked SOLVED

Done, thank you.
  • spumco
  • spumco
29 Apr 2026 00:43
Replied by spumco on topic (Solved) G43 not being applied in g-code

(Solved) G43 not being applied in g-code

Category: General LinuxCNC Questions

Holy #@)(*-balls!!!

Who would have thought RETAIN_G43 = IGNORE_G43?

G43 works on the same line as Tn M6, as well as on the next line.

More work left to do, of course... but after about 3 years I'm finally making chips on this stupid lathe.

Thank you all!

Mods - please marked SOLVED
  • grandixximo
  • grandixximo's Avatar
29 Apr 2026 00:17 - 29 Apr 2026 03:22
Replied by grandixximo on topic How to fix "Queue is not empty after probing"

How to fix "Queue is not empty after probing"

Category: General LinuxCNC Questions

what are you using the base-thread for?
10000 seems incredibly small.

if you are using custom kinematics, you might have to build again from source, you may not be able to use my debian packages.

It requires you to be logged into github to get the debs I think.
  • COFHAL
  • COFHAL
29 Apr 2026 00:10
Replied by COFHAL on topic Qtvcp GUI and hal pins

Qtvcp GUI and hal pins

Category: Qtvcp

I'm using the latest available version of LNC 2.9. I regularly update my system, and the LNC version updates automatically. I initially installed it from the official ISO and also the DE.
  • rodw
  • rodw's Avatar
28 Apr 2026 21:09
Replied by rodw on topic Developer Forum

Developer Forum

Category: General LinuxCNC Questions

Sadly, they are not alone. Google, Apple, Facebook, X, Youtube to name just a few who also do the same. Facebook is probably the worst. If you look at their business backend features its whole new world of data exploitation user never see.
  • tommylight
  • tommylight's Avatar
28 Apr 2026 20:57
Replied by tommylight on topic Developer Forum

Developer Forum

Category: General LinuxCNC Questions

Discord's sole reason for existence is selling user data, and apparently getting hacked often.
Displaying 76 - 90 out of 16672 results.
Time to create page: 0.324 seconds
Powered by Kunena Forum