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
  • You should post this thread in the Quindos forum might have more replies
  • It isn't??
    I don't know any more Quindos forums...

    Thanks,
    Juan
  • 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
  • Thanks for your response!
    That's what I did months ago (seems to be similar):

    DELETE (NAM=(V1,V2,V3,V4,V5,V6,V7,V8,V9), CNF=N, TYP=REA, STY=ACT)
    GETVAL (NAM=V1, OBJ=PRB(100), DSC=r, TYP=PRB)
    GETVAL (NAM=V2, OBJ=PRB(100), DSC=s, TYP=PRB)
    GETVAL (NAM=V3, OBJ=PRB(100), DSC=t, TYP=PRB)
    GETVAL (NAM=V4, OBJ=PRB(100), DSC=u, TYP=PRB)
    GETVAL (NAM=V5, OBJ=PRB(100), DSC=v, TYP=PRB)
    GETVAL (NAM=V6, OBJ=PRB(100), DSC=w, TYP=PRB)
    GETVAL (NAM=V7, OBJ=PRB(100), DSC=x, TYP=PRB)
    GETVAL (NAM=V8, OBJ=PRB(100), DSC=y, TYP=PRB)
    GETVAL (NAM=V9, OBJ=PRB(100), DSC=z, TYP=PRB)
    FCNVAL (NAM=DFL_PRB100, TYP=MAX, VAR=(V1,V2,V3,V4,V5,V6,V7,V8,V9))
    PROB100_1=DFL_PRB100
    !
    IFTHEN (VL1=PROB100_1, VL2=0.5, TYP=GT)
    INDPRC (NAM=CAL_PRB100)
    ENDIF


    Regards,
    Juan
  • at same time, the newer version of Quindos, Quindos7, automatically lists the maximum deflection value.

    Quindos6 is 'obsolete'. Quindos7 is current since ~2008