Brad/Ray,
BTW I think the off-by-one and the Enables not working is due to a bug here:
#define GET_VALUE(source_value, start, length) ((source_value >> (start - 1)) & ((1 << length) - 1))
in KMotion_dotNet_Interop.cpp should be
#define GET_VALUE(source_value, start, length) ((source_value >> start) & ((1 << length) - 1))
Also the Enables come back individually returning the one requested not a word of bits.
Regards
TK
| Group: DynoMotion |
Message: 3376 |
From: himykabibble |
Date: 1/23/2012 |
| Subject: Re: MainStatus.AllAxisEnabled |
Brad,
Have you posted MM source somewhere? I'd probably ask fewer stupid questions if I had some good examples to follow.... Trying to find things in KMotion, then guess how they map into dotNet is really tedious and time-consuming.
Regards,
Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Yes, it would. But it doesn't matter whether they actually ARE enabled or not - it ALWAYS returns 0 for all axes, even when the machine is actually moving.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > 0 would indicate all are disabled I think.
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Monday, January 23, 2012 12:03 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] MainStatus.AllAxisEnabled
> >
> >
> >
> >
> >
> > Brad,
> >
> > Are these working? I always read 0... I'm assuming this should be a
> > bit-mapped array of enables, with axis 0 at bit 0, axis 1 at bit 1, etc.?
> >
> > Regards,
> > Ray L.
> >
>
|
|
| Group: DynoMotion |
Message: 3377 |
From: Brad Murry |
Date: 1/23/2012 |
| Subject: Re: MainStatus.AllAxisEnabled |
Ray, MM is no longer open-source, sorry. You could use .net reflector to peek though. The new HTML CNC controller is almost complete and the source will be completely open. -Brad Murry From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble Sent: Monday, January 23, 2012 10:08 PM To: DynoMotion@yahoogroups.com Subject: [DynoMotion] Re: MainStatus.AllAxisEnabled Brad,
Have you posted MM source somewhere? I'd probably ask fewer stupid questions if I had some good examples to follow.... Trying to find things in KMotion, then guess how they map into dotNet is really tedious and time-consuming.
Regards, Ray L.
--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote: > > Brad, > > Yes, it would. But it doesn't matter whether they actually ARE enabled or not - it ALWAYS returns 0 for all axes, even when the machine is actually moving. > > Regards, > Ray L. > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote: > > > > 0 would indicate all are disabled I think. > > > > > > > > -Brad > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On > > Behalf Of himykabibble > > Sent: Monday, January 23, 2012 12:03 PM > > To: DynoMotion@yahoogroups.com > > Subject: [DynoMotion] MainStatus.AllAxisEnabled > > > > > > > > > > > > Brad, > > > > Are these working? I always read 0... I'm assuming this should be a > > bit-mapped array of enables, with axis 0 at bit 0, axis 1 at bit 1, etc.? > > > > Regards, > > Ray L. > > >
|
|
| Group: DynoMotion |
Message: 3392 |
From: Brad Murry |
Date: 1/24/2012 |
| Subject: Re: MainStatus.AllAxisEnabled |
Hello Tom,
I believe I see the issue, does this mean you fixed the issue? Has anyone tested this?
-Brad
| Group: DynoMotion |
Message: 3393 |
From: Tom Kerekes |
Date: 1/24/2012 |
| Subject: Re: MainStatus.AllAxisEnabled |
Hi Brad,
I made the change on my end and tested the Enables and they seem to work ok.
But haven't given this to anyone.
TK
| | | | | |