Sorry, been a little busy lately and forgot about this thread. Here's what I'm wanting to accomplish.
I'm used to Cinncinati Milacron controls, which seem to be a little off standard. I will eventually build a probe. And I'm wanting it to act as though it does on the Cinncinati's.
Here is how they work....
To probe a surface in X Y OR Z, you would give the following command - G77 Yy or Xx or Zz. The x, y and z value is an aboslute value that you know is past the surface you want to probe. Lets say we use Y0 for this example. If the machine is currently positioned at y1.25, when given the G77 Y0, it will move towards Y0 at a predetermined feed rate. Once it hits, it will back off .05., and then move towards Y0 again, probing the same point but only at a slower feed. When hitting the second time, it will again back off .05. It then records the X Y and Z position of the point probed. The position of the machine +/- 1/2 the diameter of the probe.
Is there anyway to make a probe behave like this? Also is it possible to record the points into a text file or even better yet, is there a way to read/write to a table from Mach2 (excel or similar).
I'm sure I'm biting off way more that I can chew. But that seems to be how I learn things.