I have the touch probe setup on my machine and sometimes it feeds down touches and comes up .300 and stops as it should
But sometimes it goes up 2 inches dwells and goes up again.....Why is it doing this...?
Possibly because you are starting the script when in a G91 condition.
If you are using a Z zero routine (not clear if that is what you are asking about) then the post Budman pointed to shows a script which covers for that situation.
A lot of the script examples that are around, don't.
Greg