Machsupport Forum
Mach Discussion => Mach SDK plugin questions and answers. => Topic started by: DevaMach3 on June 21, 2012, 11:37:47 AM
-
Hi All
We're updating our motion control plugin from milling only to operate with a lathe and so I've set up Mach3 for threading using an index pulse pretty much as per the Mach3_Threading.pdf.
If I select "Spindle Feedback in Sync Mode" and program a G76 the diagnostics indicate "Wait For Trigger" and it just sits there. We never see "Threading" light up.
I can see the index pulsing on the diagnostic page and it seems to work with Spindle Feedback in Sync Mode" not selected (although I understand that this isn't the way to go).
The plug-in updates the digital IO in the "Update" function 10x per second.
Any ideas?
Thanks
Sean
-
Try changing the index debounce as that defines how manny times Mach must assert that it has a valid index signal.
10 works fine for me, some use lower or higher value.
RICH
-
Hi Rich
Thanks for the reply. I tried setting both the debounce interval and index devounce to 10 and no change...
Our plugin reads axis position profile data from the Trajectories.Points buffer and sends them down our own queue to the closed loop servo controller. I'm having a chat with Art to try and understand how this should work with threading. I'm confused as to the differences between the parallel port type plugins and those like ours that just take the profile from the buffer.
Regards
Sean
-
Sean,
No knowlegde here on plug in's and Art should be able to pinpoint what is wrong. Let me know what the outcome is.
Thanks,
RICH