Welcome, Guest. Please login or register.
Did you miss your activation email?
May 28, 2012, 08:39:29 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Mach Discussion
| |-+  Mach SDK plugin questions and answers.
| | |-+  Implementation of "Probing" function in external motion device
Pages: 1   Go Down
Print
Author Topic: Implementation of "Probing" function in external motion device  (Read 504 times)
0 Members and 2 Guests are viewing this topic.
vmvm
Active Member

Offline Offline

Posts: 6


View Profile
« on: October 13, 2011, 03:29:34 PM »

I'm developing an external motion device and plug for it. Problems with the implementation of the function "Probing" has arisen. How to say Mach, that I will implement this feature in my external device? Can I stop Mach planning movement in response to the G31? Please help.
Logged
vmvm
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #1 on: October 14, 2011, 05:36:46 AM »

Hi to all!
It's lucky day! Probing start to work from my plugin. Bad news - I don't understand why. Today I just change plugin GUID. Next question - how to say to Mach, that probing finished?

Thanks for help!

"Is There Anybody Out There?"
Logged
vmvm
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #2 on: October 17, 2011, 01:15:46 AM »

Fortune has changed to me.
Still, can anyone help me?
How tell to Mach, that it mast execute function Probe from plugin dll  Huh
Thanks.
Logged
TomKerekes
Active Member

Offline Offline

Posts: 11


View Profile
« Reply #3 on: October 27, 2011, 03:59:09 PM »

Fortune has changed to me.
Still, can anyone help me?
How tell to Mach, that it mast execute function Probe from plugin dll  Huh
Thanks.

we do:

   MainPlanner->DoExternalProbe = true; //this will trigger the move.

HTH
TK
http://dynomotion.com
Logged
vmvm
Active Member

Offline Offline

Posts: 6


View Profile
« Reply #4 on: October 28, 2011, 01:45:22 AM »

Thank you for your reply.
But my experiences showed that
Quote
   MainPlanner->DoExternalProbe = true; //this will trigger the move.
run calculating of the motion and filling movement buffer by Mach.

I came to the conclusion that it is enough just to do
MainPlanner-> ExternalStill = false;

Next, perform all operations in an external motion device, and at the end

Engine->Axis [axis]. Probing = false;
Engine->Axis [axis]. DepthCount = actual distance;
Engine->Sync = true;
MainPlanner-> ExternalStill = true;

I have this variant works.
Logged
Pages: 1   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!