0 Members and 1 Guest are viewing this topic.
Code "G92.2"'Call SetDRO(24,0)Call SetDRO(2, ABS(GetOEMDRO(1001)))
Tool_Num = GetDRO (24)If Tool_Num <>0 then Z_Shift = GetOEMDRO (1002) Z_Offset = GetOEMDRO ( 49 ) Axis_Pos = GetOEMDRO(85) Tool_Offset = Axis_Pos - Z_Offset -Z_Shift Call setOEMDRO(42, Tool_Offset)End if
GageH = 15.0 'OEMDRO(1001)=Gage Block Height