- Posts: 216
- Thank you received: 0
Emcoturn 120 lathe retrofit
tome wrote:
LutzTD wrote: I notice you have wires on the timing, o.heat/com terminals? where do those connect?
I recall those are a signal from the Vexta if it overheats...? I wired those to an input in order to do something if I see that signal.
It's taken care of in this section (though not tested):
# --- Over Temperature Inputs ---
# --- ** added without testing amp-fault (should cause no X,Z motion if Vexta overheat)
#spindle-overtemp hm2_5i25.0.7i84.0.0.input-17 **see above
net z-axis-overtemp hm2_5i25.0.7i84.0.0.input-19 axis.2.amp-fault-in
net x-axis-overtemp hm2_5i25.0.7i84.0.0.input-20 axis.0.amp-fault-in
# --- End of Over Temperature section----
that makes sense, I will put it on todo list.
Please Log in to join the conversation.
PCW wrote: Looks like that is for setting up stepgen2 to generate a square wave output to run a charge pump circuit
( Though the frequency will not be 10 KHz but rather 162.5 Hz,
hm2_5i25.0.stepgen.02.velocity-cmd should be set to 4 to get 10 KHz )
Thanks Peter, must have slipped up somewhere...1/4 vs 4...hmmm
-Tom
Please Log in to join the conversation.
I had forgotten that the quadrature output is 4X as fast as the step/dir rate
which is a bit embarrassing since I wrote the firmware.
Please Log in to join the conversation.
LutzTD wrote: ok thanx, I may just go ahead and drop the pid for the x and z. the spindle is working OK so Im going to leave that. It seems like my issue is in the software driving the axis controllers and motors, so Im going to try to sub in your stuff for the axis control. I figured it was the control, Its in a feedback loop because it jitters even after I try to move it like its hunting.
I didn't use a PID on mine, as you see in the config, but I can't argue intelligently for or against it in this application. I haven't had any problems that I know of related to servo-thread jitter but that could be dumb luck with my pc hardware/Mesa setup.
You don't need most of the functions (addf, loadrt) that I have in that file to drive the X,Z axes. Most of those are used for other logic related to specific hardware on my lathe, like the pneumatic collet and tailstock, etc.
-Tom
Please Log in to join the conversation.
to this
and the INI file from this
to this
works awesome. havent measured the movement yet, but the move seems smooth and it has great hold power. worked for both axis thanx so much Tome for the files. I will try to get the home switches working today too.
Please Log in to join the conversation.
LutzTD wrote: ....<stuff deleted>....
works awesome. havent measured the movement yet, but the move seems smooth and it has great hold power. worked for both axis thanx so much Tome for the files. I will try to get the home switches working today too.
Cool, glad to hear it! And just to close the loop (pun intended), can you verify the wiring sequence from your stepper terminals to the Vexta terminals? Just for future reference...
Please Log in to join the conversation.
Attachment not found
Please Log in to join the conversation.
-Tom
PS: I should note that the config files at that link are newer than the ones I sent above.
Again, the link to all those files is: bgp.nu/~tom/pub/EMCOTurn120P/
Please Log in to join the conversation.
-Hans
Please Log in to join the conversation.
