I'm having trouble understanding how to use the probe macro on my Haas. I've inherited some code that I need to modify to add more probing features but I can't understand how the previous programer was using it. I searched the forum and visited many sites to try to find a good definition of the renishaw 9023 macro but still I'm missing something.
Here is the code I inherited that probes the surface in four places and then uses that to set the Z location.
%
O01298
G00 X0.875 Y-0.2
G65 P9023 A9. S123.
#1= #1 + #7263
G00 Z0.4
G00 X0.2 Y-1.7
G65 P9023 A9. S123.
#1= #1 + #7263
G00 Z0.4
G00 X1.6 Y-1.7
G65 P9023 A9. S123.
#1= #1 + #7263
G00 Z0.4
G00 X0.875 Y-3.25
G65 P9023 A9. S123.
#1= #1 + #7263
#600= #1 / 4
....
As far a I can tell A9 is just variable #1 in the macro, but what does S123 do?