NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 
Home Forum Configuring LinuxCNC Basic Configuration New setup, can't move A4988 steppers.

Welcome, Guest
Username: Password: Remember me

TOPIC: New setup, can't move A4988 steppers.

Re:New setup, can't move A4988 steppers. 17 Mai 2012 07:07 #20174

  • pfred1
  • pfred1's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 57
  • Karma: 6
andypugh wrote:
pfred1 wrote:
In your first post you said you have your Direction Hold/Setup = 200000 Maybe I'm reading the data sheet for your driver wrong but it seems to say to me that it only needs 200 ns which is pretty fast?

It is worth noting that you only ever reverse the motors at zero speed, so there isn't anything to be gained from shaving down those numbers.

What I note is that it is in the software and a universal specification. So it has to have some significance.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 17 Mai 2012 07:19 #20175

  • pfred1
  • pfred1's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 57
  • Karma: 6
CptanPanic wrote:
But yeah looking at the data sheet again, I didn't notice that the setup/hold time were in ns, so yeah I was 1000 off. But I guess you are saying these don't matter. I will increase the timing on the time/space, and also really measure the current. And let you guys know.
Thanks.

Allegro may have typoed, or something there. Because 200ns, well it is a lot faster than their spacing. There is something going on there that bears closer examination. But you were 1000 times off. Andy says it doesn't matter, and he may be right. But I can't see how it can hurt to change the number if he is right. This may be a case where no one is right though. Me, I'm keeping an open mind on the subject. I'll let you, and the motor have the final say for what is right.

Set it all at 2000ns and see how that works, then go up, or more likely down, from there. When you're happy I'm happy.
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 24 Juil 2012 08:54 #22405

  • CptanPanic
  • CptanPanic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
Hello again,
Well I have more of the machine setup, and am actually moving the machine, and drawing with a pen. So the problem I am facing is I am missing steps. If I run the test in stepconf for like a 50mm area, it will randomly lose a millimeter or so ever couple of passes, and eventually keep wandering. Adjusting the max speed/acceleration doesn't seem to help but it is hard to tell since when you slow it down, it is making less passes. I am running everything the same as above in the thread. What should the steps be in finding the source of this issue?
Thanks,
CP
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 24 Juil 2012 11:17 #22412

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4245
  • Thank you received: 152
  • Karma: 130
Is it possible that it might be a mechanical problem? Mark any couplings or other mechanical joints to make sure they are not slipping.

How do maxvel and maxaccel compare to the actual maximums?

How random is the problem? It doesn't, for example, correlate to turning the microwave on? (or the spindle, or anything else electrically noisy).
The administrator has disabled public write access.

Re:New setup, can't move A4988 steppers. 24 Juil 2012 11:24 #22413

  • CptanPanic
  • CptanPanic's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 14
  • Karma: 0
Good point about checking the mechanicals. It is possible that the gear is slipping on the motors. I will mark them and try later.
The administrator has disabled public write access.
Moderators: Rick G
Time to create page: 1.469 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.