Reading Probe Results
Read the Q-parameters a probe fills in and average opposite edges into a centre.
A touch probe leaves what it measured in Q-parameters the control fills in for you. Reading those into your own boxes — then averaging opposite edges — is how a macro finds the middle of a feature it just probed.
Your turn
The probe captured four edge touches: the two X edges in Q115 and Q116, the two Y edges in Q117 and Q118. Compute the feature centre — Q1 = centre X, Q2 = centre Y — and its X span into Q3.
The machine gives you
boss around (40, 25):
Q115 = -10Q116 = 90Q117 = 5Q118 = 45a different feature:
Q115 = 0Q116 = 50Q117 = 0Q118 = 30Your program is run once for each set of conditions. It has to work for all of them.
Loading...
This is a learning simulation — always prove out a program on the actual control before you cut metal.