hexagon logo

Get values from probe calibration results to real variables

Hi all,

I'm a Quindos 6 user in a PMM-C machine.

I want to get the probe deflection results to a real variable, my intention is to automatically recalibrate the probe if that value is greater than a preassigned value. I used to use "getval" command when I wanted to use a value from a measured characteristic (i.e. if I wanted to use X-axis coordinate from a circle or similar) but I don't know how to get a value from a probe calibration result.

+------------------------------------------------------------++----------++----+
| PROBE - NAME |TYP|DIAMETR| X-OFFSET | Y-OFFSET | Z-OFFSET ||DFL|M.DFL.||MAGA|
|PRB(17) |SPH| 2.000 | 0.1552| -0.0936| -16.2299||3 | 0.787||001 |
|PRB(22) |SPH| 3.000 | 0.0000| 0.0000| 0.0000||3 | 0.857||091 |
|PRB(100) |SPH| 1.000 | -42.6894| -6.1010| 58.1976||3 | 0.360||181 |
|PRB(101) |SPH| 1.000 | -42.9473| 1.9133| 58.0158||3 | 0.346||271 |
|PRB(110) |SPH| 1.000 | -42.8651| 4.3349| 26.3689||3 | 0.398||181 |

I want to use the value from the "M.DFL." column (maximum deflection of the probe)

Hope you can help me.

Regards,
Juan
Parents
  • The maximum deflection value is not stored in Quindos6. You'll have to loop thru the 9 deflection value to find the highest. The 9 values are stored in fields r,s,t,u,v,w,x,y,z. Sample code below

    ! Pull 9 deflection values
    GETVALS (OBJ=PRB(1), TYP=PRB, RDS=(r,s,t,u,v,w,x,y,z), REA=(val(1),val(2),val(3),val(4),val(5),val(6),val(7),val(8),val(9)))
    !LISREA LDBREA:val()
    ! assign initial value to zero
    Max_Dfl=0
    ! Loop thru to find largest
    DO J,1,9
    IFTHEN (VL1=val(J), VL2=Max_Dfl, TYP=GT)
    Max_Dfl=val(J)
    ENDIF
    ENDDO
    !LISREA Max_Dfl
Reply
  • The maximum deflection value is not stored in Quindos6. You'll have to loop thru the 9 deflection value to find the highest. The 9 values are stored in fields r,s,t,u,v,w,x,y,z. Sample code below

    ! Pull 9 deflection values
    GETVALS (OBJ=PRB(1), TYP=PRB, RDS=(r,s,t,u,v,w,x,y,z), REA=(val(1),val(2),val(3),val(4),val(5),val(6),val(7),val(8),val(9)))
    !LISREA LDBREA:val()
    ! assign initial value to zero
    Max_Dfl=0
    ! Loop thru to find largest
    DO J,1,9
    IFTHEN (VL1=val(J), VL2=Max_Dfl, TYP=GT)
    Max_Dfl=val(J)
    ENDIF
    ENDDO
    !LISREA Max_Dfl
Children
No Data