Hello Guest it is April 29, 2024, 06:11:02 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - TomKerekes

Pages: « 1 2
11
My plugin successfully handles a myProbe command by starting the motion, captures the probe point (in hardware), decelerates to a stop, and does a PurgeMovements to flush the remainder of the motion.

That all seems correct, but where do I put the captured result?

My understanding is that it should end up in Vars 2000-2005.  But if I put it there using something like:

  _setup->parameters[2000] = ProbeResult / MainPlanner->StepsPerAxis[0];

Mach later overwrites it with the current position which is where I decellerated to a stop.

Any help appreciated!

TK
 

12
Thanks Scott,

Yes you understood correctly we have hardware encoder counters on our board that we are using to track position.

BTW we have a new mode that runs Steppers under Mach3 in Closed Loop that works pretty well.

http://dynomotion.com/Help/ClosedLoopStep/ClosedLoopStepper.htm

I thought there would be a way to do it without requiring Users (and me) to edit their screens.  Maybe watch for Mach to clear the count variable?

But if that is the only way then so be it. 

So while I'm bugging you, could you tell me how to edit the VB script of a button that doesn't blink in "Edit Button Script" mode?

Thanks!
TK

13
We're adding Encoder DRO support in our Plugin and I'm trying to respond when the user pushes the Zero X button next to the Encoder DRO.

I set breakpoints everywhere and can't find anything in the plugin that gets called when this button is pushed.

Anyone know how to handle this?

Thanks
TK
DynoMotion, Inc.

Pages: « 1 2