Welcome! Log In Create A New Profile

Advanced

losing notification-messages from the stepmotor devices

Posted by Anonymous User 
Anonymous User
losing notification-messages from the stepmotor devices
October 17, 2007 09:04AM
the stepmotor-devices are not sending notifications if the motor reaches the min-sensor during a dda-operation.
e.g.
in stepper exerciser:
home for x and y
line test: to x:700, y:700 (moving ok)
line test: to x:0, y:0 (moving ok)
waiting for notification until timeouts
(then x has the value 1 and y the value 3)

i get the result with the standard firmware version 1.0 (and with my new version).

i think the problem is, that in the function forward1() the variable function is set to func_idle if the min-sensor is reached. after than, no notify is send in the timerTick() function.
Okay, good to know. Can you fix this problem?
Anonymous User
Re: losing notification-messages from the stepmotor devices
October 29, 2007 07:41AM
hi kevin,

here is the fix for this problem.

best
andreas
Attachments:
open | download - firmware_rewrite_andreas_v7.tgz (28.1 KB)
Re: losing notification-messages from the stepmotor devices
October 30, 2007 09:52AM
andreas Wrote:
-------------------------------------------------------
> hi kevin,
>
> here is the fix for this problem.
>
> best
> andreas

Andreas,

I programed and ran V7 last night and it seemed that can only run my x and y axis in one direction?? It might be me also tonight I was going to try the one that is on source forge as a base line to see if that works in both directions since I just rewired my stepper motor (my X was not the one that was reversed it was my Z)

So I will let ya know.

Bruce
Re: losing notification-messages from the stepmotor devices
November 01, 2007 01:48PM
brucew Wrote:
-------------------------------------------------------
> andreas Wrote:
> --------------------------------------------------
> -----
> > hi kevin,
> >
> > here is the fix for this problem.
> >
> > best
> > andreas
>
> Andreas,
>
> I programed and ran V7 last night and it seemed
> that can only run my x and y axis in one
> direction?? It might be me also tonight I was
> going to try the one that is on source forge as a
> base line to see if that works in both directions
> since I just rewired my stepper motor (my X was
> not the one that was reversed it was my Z)
>
> So I will let ya know.
>
> Bruce

MY bad, I found I had the min. "end stop jumper" on the wrong pins. When I was testing the Robot I am pulling the end stop pin to simulate the end stop till I get the time to wire and install the end stops ( hopefully this weekend! )
so all is good I al running V7 of the firmware and all seems to be running well..

Bruce
Sorry, only registered users may post in this forum.

Click here to login