Hi Scott,
Did you read this post?
TK
| Group: DynoMotion |
Message: 2054 |
From: Scott Taylor |
Date: 10/28/2011 |
| Subject: Re: What do I do next |
That worked! It followed the C code just fine.
The next question is I would like to run 2 axes at the same time. Can I put them into the same program i.e one thread or do I need a second program to run it on a second thread?
Scott
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Scott,
> Â
> Did you read this post?
> Â
> http://tech.groups.yahoo.com/group/DynoMotion/message/2020
> Â
> TK
>
>
> ________________________________
> From: Scott Taylor <drscotttaylor@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, October 28, 2011 10:09 AM
> Subject: [DynoMotion] What do I do next
>
>
> Â
> Hi Tom Kerekes,
>
> Finally got the stepper to move. What do I do next, do you have any programing examples?
>
> Scott
>
|
|
| Group: DynoMotion |
Message: 2058 |
From: Tom Kerekes |
Date: 10/29/2011 |
| Subject: Re: What do I do next |
Scott,
Yes you can command multiple axis channels to move at the same time from a single program thread. The Move calls are non-blocking (they just start the motion and return immediately).
TK
| Group: DynoMotion |
Message: 2074 |
From: Scott Taylor |
Date: 10/30/2011 |
| Subject: Re: What do I do next |
Ok, how do I get the position data to work.
I use this set of commands
*p++ = Time_sec() - T0;
*p++ = ch0->Position;
*p++ = ch0->Dest;
I get the delta time and Destination, but never the position. Is there something I need to set up first?
Scott
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Scott,
> Â
> Yes you can command multiple axis channels to move at the same time from a single program thread. The Move calls are non-blocking (they just start the motion and return immediately).
> Â
> TK
>
> From: Scott Taylor <drscotttaylor@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, October 28, 2011 11:26 PM
> Subject: [DynoMotion] Re: What do I do next
>
>
> Â
> That worked! It followed the C code just fine.
>
> The next question is I would like to run 2 axes at the same time. Can I put them into the same program i.e one thread or do I need a second program to run it on a second thread?
>
> Scott
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Scott,
> > ÃÂ
> > Did you read this post?
> > ÃÂ
> > http://tech.groups.yahoo.com/group/DynoMotion/message/2020
> > ÃÂ
> > TK
> >
> >
> > ________________________________
> > From: Scott Taylor <drscotttaylor@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, October 28, 2011 10:09 AM
> > Subject: [DynoMotion] What do I do next
> >
> >
> > ÃÂ
> > Hi Tom Kerekes,
> >
> > Finally got the stepper to move. What do I do next, do you have any programing examples?
> >
> > Scott
> >
>
|
|
| | | |