GcodeCNCDemo incomplete movements
Shop › Forum › Everything Else › GcodeCNCDemo incomplete movements
- This topic is empty.
-
AuthorPosts
-
2015-03-13 at 00:02 #6087AnonymousInactive
Hi,
The movements made by the stepper motors when adressed via GcodeCNCDemo6axisV2 in my test case are incomplete ( fewer steps made than sent via serial monitor). Please make suggestions for the possible cause and remedy.
Thanks
2015-03-13 at 15:23 #6969AnonymousInactive– stepper motor steps-per-turn differs from firmware setting.
– faulty wiring to stepper motor
– damaged H bridge IC.
– low power (not enough amps)
– high torque (something fighting motor)… that’s all I can think of at the moment.
2015-03-22 at 18:17 #6970AnonymousInactiveHi,
I tested a bunch of stuff but did not yet find the bug :
changed number of steps in the lists of costants – no effect
changed the motors (2) to those sold by adafruit (bipolar serial wiring) 12V 0.35 A and 35 Ohms per phase
varied stepper speed via speedrate and motor->setSpeed() : speed changes, number of steps moved seems the same
Power supply :12 V , 90 W (8V, 5VA before)
There is no load on the motors
changed the onestep command from interleave to doubleWhen entering e.g. G00 X200; it does one turn as it should
G00 X-200; will result in two turns in the other direction, not just oneI need to search for an explanation of this behaviour, hints are welcome
Thanks
2015-03-22 at 23:22 #6971AnonymousInactivex200 and x-200 are absolute values. from +200 to -200 is |400| steps. that is correct number.
if you want relative movements it’s… g90? g91?in relative move g0 x200 will be absolute 200, then g0 x-200 will be abs 0.
2015-03-23 at 23:31 #6972AnonymousInactiveHi
After opening the serial monitor, I entered a single command G00 X200 Y200; . With steps per turn set to 200, it should do one rotation independent from the mode selected.Now I observe it actually does about a half rotation in both cases, also for -200. M114 yields as position the number of steps entered, +-200 for both steppers. Whether it is exactly half I cannot tell. Both steppers always do the same numbers of steps (equal number of steps in the command). The movements made do not, as far as I can tell, differ from test to test. Changing steps_per_turn has no effect on the behaviour. O.K. I did not pay attention to the different modes, but this obviously is not the cause of this trouble.
Tomorrow, I will review the wiring, but I dont think that’s it.
2015-03-24 at 00:39 #6973AnonymousInactiveconsider absolute mode:
g0 x200 is 0+200.
g0 x-200 is 0-200. from the previous position, +200 to -200 is -400.consider relative mode:
g0 x200 is 0+200.
g0 x-200 ix 0+200-200, or 0, back to starting position. -
AuthorPosts
- You must be logged in to reply to this topic.