Mesa 7i76e pncconf open loop stepper leadshine

More
6 months 3 days ago - 6 months 3 days ago #346037 by mgiaco
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
 
Last edit: 6 months 3 days ago by mgiaco.

Please Log in or Create an account to join the conversation.

More
6 months 3 days ago #346048 by tommylight
Normal config should work as is from the wizard.
No need to change PID nor anything else for open loop stepper, there is nothing to choose, except the step/unit and maybe rarely timings.
Even if the drives are "closed loop", there is no difference from normal open loop stepper drives as the loop is closed on the drive, not in LinuxCNC.

ASUS ROG Crosshair VIII Impact - AMD X570
The following user(s) said Thank You: rodw

Please Log in or Create an account to join the conversation.

More
5 months 2 days ago #346768 by mgiaco
Its not working but i got everything to work.

github.com/mgiaco/ecam_cnc/ => axis
github.com/mgiaco/ecam_cnc/tree/probe_basic => probe basic

Now i am try to get manual tool change to work as i like.

Please Log in or Create an account to join the conversation.

Time to create page: 0.413 seconds
Powered by Kunena Forum