Ok here are my questions/answers......
It sounds like it will work pretty good.
Are you able to make it so that the clamp will activate as soon as the X and Y distance to go reach 0, and then they deactivate when the Z has retracted to a set value? And possibly a time delay between the turn off and the start of the next XY movement?
*** Ok, are you wanting the above INSTEAD of what you have now, or in addition to what you have, if you want them both do you want to be able to choose between the two type of clampong functions?
So if I understand you correctly, you now want where the OUTPUT1 will not activate until the X and Y ToGo DROs become 0. But the only thing that will DeActive OUTPUT1 is the Z axis going over a specific hiegth?
Further once it goes above that Z hiegth, you would like a "Time Delay" before the OUTPUT1 would Deactivate, correct?
IF I have above what you are wanting, then yes it can be done.... If I dont understand explain what you want better, I will also need to know, would this take the place of how the Z clamp is currently working??
ALSO: The Time Delay would need to be in 100ms units, since that is the loop rate of the plugin. If you would like to "Set" a variable delay vs. a hard coded delay, I can add a place on the config screen where you can enter the amount, in 1 ms intervals.
I know I am asking alot, but would I be able to get the source to the plug in? I want to learn how to start making them as well.
If you want to learn plugins I HIGHLY, HIGHLY recommend you read Jemels "Plugin Tutorial" in the memeber docs, he takes you from Ground 0, to writing a usuable plugin. I will send the source to you off list for a example as well.
Also the "Plugin Wizard" that Ed Bryson did (complete with trianing videos), is a MUCH easier way to do plugins!! If your going to learn them I would recommend you use his Wizard!!!!!!!!
Email me at: poppabear"AT"hughes.net
scott