
Originally Posted by
gwood
Rel 3.xx was based on hardware which Rel 2.34 would not have. You can access the probe "System Registers" and then do the needed trigonometry and calculations and
then write to the tool offsets if desired. Once tool data is written to the tool must be reactivated; before the changes would be active.
incredibly helpful as always, thank you again!
I guess that means I can never get g51 to update offsets directly?
I need to effectively check if the probe hits on a g51 and if so scrape the system registers and do a coordinate update (g92 or similar) or error?
something akin to below?
Code:
(IF [$PROBE_HIT] = 1 THEN)
G92.1 x[$PROBE_POS_PC(x)] y([$PROBE_POS_PC(y)] z[$PROBE_POS_PC(z)] a[$PROBE_POS_PC(a)]
(ELSE)
raise error
(ENDIF)