On Tuesday, July 5, 2016 at 1:23:35 PM UTC+4, Bas de Bruijn wrote: > > > On 05 Jul 2016, at 10:56, Diego Molina <[email protected] <javascript:>> > 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. >
Is it steps/degrees? You know, I just ask after a lot of searching, which in this case didn't result in any clarification on the matter. > > , 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/ > > I've seen people here requesting the ini's, so I just assumed it would be more convenient to just put as text. > 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. > > My driver is 200 steps per revolution, 6400 microstepping (pulses/rev), the pitch is 2mm, but how would I end up knowing the amount of pulses? Step length and step time are both 1500. Thanks, Diego -- 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.
