Dynomotion

Group: DynoMotion Message: 13756 From: cnc_machines Date: 9/23/2016
Subject: System Resources

Tom,


Is there any way to see how much of the system resources I am currently using? I am using two KStep boards running 6 steppers, 4 of which are closed loop. I also have a connect board, and 2 threads running infinite loops. I am wondering if I am starting to push the limit of what the KFlop can do. I am also concerned that my infinite loop code isnt particularly efficient. Is there any way to see if I am maxed out? If I am, could random following errors on different axis be a symptom of this?


Thanks,


Scott

Group: DynoMotion Message: 13757 From: TKSOFT Date: 9/24/2016
Subject: Re: System Resources
Hi Scott,

I doubt if that is a problem. There is an example MeasureIRQ.c that
will show how much time the 90us Interrupt is taking to service all the
axes.

If the Infinite loop takes longer than a time slice it will cause things
to be serviced less frequently. But I wouldn't expect that to cause
following errors. You can use Time_sec() to measure execution times.

There is an example CaptureXYZMotionTrigger.c that can capture what
happened before a following error. You might run that to analyze what
happened.

Regards
TK





On 2016-09-23 12:50, cnc_machines@... [DynoMotion] wrote:
> Tom,
>
> Is there any way to see how much of the system resources I am
> currently using? I am using two KStep boards running 6 steppers, 4 of
> which are closed loop. I also have a connect board, and 2 threads
> running infinite loops. I am wondering if I am starting to push the
> limit of what the KFlop can do. I am also concerned that my infinite
> loop code isnt particularly efficient. Is there any way to see if I am
> maxed out? If I am, could random following errors on different axis be
> a symptom of this?
>
> Thanks,
>
> Scott
>