lathe with 3 stepper one for each axis

More
07 Mar 2020 01:41 - 07 Mar 2020 03:17 #159364 by alejandrolleida
hi frends
I have built a lathe with 3 axis as usual but the axis are moved with 3 steppers, first attempt was with grbl ant that doesn't work maybe i need to reprogram but i can't program this is so difficult for me and now I'm trying to configure with linux cnc but in the manual lathes are sincronized with encoder i wish to configure with steppers.
Is it possible?
How can I do it?
Last edit: 07 Mar 2020 03:17 by alejandrolleida.

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

More
07 Mar 2020 01:52 #159366 by tommylight
You will have to give us more info or pictures of what you are trying to do, that translation is not ok.
Why 3 steppers on a lathe ?
Linuxcnc is not Linux with GRBL!
For a simple stepper config you can use stepconf wizard from the menu, be it from a Live boot from USB or after installing it to HDD/SSD. Bare in mind that Live boot will not save the config so you will have to save it to another USB or HDD.
You can download the latest unofficial ISO from here and play with it in SIM mode, or install and run the machine after creating a configuration for it.
forum.linuxcnc.org/9-installing-linuxcnc...cnc?start=130#159240

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

More
07 Mar 2020 03:41 - 07 Mar 2020 03:52 #159367 by alejandrolleida
Linux cnc not grbl mistake solved
3 steppers for lathe is because I bought a chuck with nema 17 was so expensive about 200$ but easy to install, missfortunately it's hard to configure, I'm asking how configure.
Stepconf wizard looking if works
Attachments:
Last edit: 07 Mar 2020 03:52 by alejandrolleida.

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

More
08 Mar 2020 23:52 #159531 by andypugh
I don't think that LinuxCNC knows how to configure a stepper spindle (I could be wrong).

So as a first step use the stepconf wizard to configure for a normal 2-axis lathe, and get the X and Z axis moving.

Once that is working you can start to manually edit the HAL file to add the spindle stepper.

The first stage will be to change
loadrt stepgen control_type=p,p[code] to [code]loadrt stepgen control_type=p,p,v[code]
You will then have a set of stepgen, two with a ...position-cmd input pin and one with a ...velocity-cmd input pin. 
You need to connect that to the spindle speed comand. Something like:
[code]net spindle-speed motion.spindle-speed-out => stepgen.2.velocity-cmd

I have guessed most of these pin names, the real pin names are documented here:

linuxcnc.org/docs/2.7/html/man/man9/stepgen.9.html
linuxcnc.org/docs/2.7/html/man/man9/motion.9.html

You will need to make the step and dir connections too. Copy the format of the axis pins, but with the index numbers and pin numbers change.

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

More
26 Mar 2020 19:00 #161605 by Mike_Eitel
Sorry for late stepping in, was not online a while.
I've seen that question multiple times and was always wondering why not using Hal component siggen in square mode. With 1ms servothread i would expect soemething like 500 or 250 times multiplied with 60 as 15`000 or 30`000 pulses per minute.

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

More
26 Mar 2020 20:45 #161615 by rodw

Mike_Eitel wrote: Sorry for late stepping in, was not online a while.
I've seen that question multiple times and was always wondering why not using Hal component siggen in square mode. With 1ms servothread i would expect soemething like 500 or 250 times multiplied with 60 as 15`000 or 30`000 pulses per minute.


That has to work. I've had no problems running steppers with a square wave generated on an Arduino.

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

Time to create page: 0.320 seconds
Powered by Kunena Forum