> On 05 Jul 2016, at 10:56, Diego Molina <[email protected]> wrote:
> 
> 
> Greating to all,
> 
> So I've got a lot of cuts out of my 3 axis machine running on a BBB / Xylotex 
> configuration, now I added a 4th axis and am having trouble figuring out the 
> values to calibrate it and make it move as expected.
> 
> I've based my config around Xylotex.ini and Xylotex.hal example configs, but 
> to arrive at the actual distances on my steppers and lead screws I had to 
> lower the scale to about 20000. All the axes work as expected with those 
> settings.
> 
> The thing is, now I've added a 4th axis with a 20-to-1 ratio worm wheel, and 
> when I issue a G1 A90 F100 code (I'm assuming this is right to ask for 1/4 
> turn?)

don’t assume, be sure instead. Have a search thru the docs on the meaning of G1 
A90 F100. Find out what units are used. 

> , for example, with the scale at 20000, it gives me around 10 turns on the 
> axis. When I try to decrease the scale I get to 400 and it moves about right, 
> but really slowly. I've tried to increase speeds after that but without 
> success.

it all depends on the settings you use. Don’t upload your ini file here, but 
commit you hal and ini file to your repo and provide a link to that. We can’t 
see inside your head. read this: http://www.machinekit.io/docs/getting-help/

> 
> Could somebody please point me on which settings to edit, so my other axes 
> still work and the 4th can move at a decent speed at the right rate?

you need to do some calculating. find out 
how many steps per revolution your motor uses (200?)
do you use micro stepping, how much?
pitch of your leadscrew
ratio of your worm (1:20) 

then you need to know the max amount of pulses that you can put out. 
find the step length and step time for your drivers and calculate the max 
frequency. This should give you an indication of what your motors and 
electronics can physically do.

then look at the settings in your ini file for the 4th axis, and compare the 
max_velocity, mac_accelerations, stepgen_max_vel and stepgen_max_acc settings.

> 
> All the best,
> 
> 
> Diego
> 
> -- 
> website: http://www.machinekit.io <http://www.machinekit.io/> blog: 
> http://blog.machinekit.io <http://blog.machinekit.io/> github: 
> https://github.com/machinekit <https://github.com/machinekit>
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Machinekit" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected] 
> <mailto:[email protected]>.
> Visit this group at https://groups.google.com/group/machinekit 
> <https://groups.google.com/group/machinekit>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to