To solve this problem.,you can define a UVS object ,for example,Special data format to saving pitch and runout evaluation of bevel gear can be defined by command DFNUVS .
by way of illustration,program:
SPIRBV
Or
……
MECIRPI
BVPITCH
DFNQUE (NAM=$QUE$LEFT, MBR=ELE:(PI_RES(1),PI_RES(3)......), DEL=Y)
DFNQUE (NAM=$QUE$RIGHT, MBR=ELE:(PI_RES(2),PI_RES(4)......), DEL=Y)
FCNVAL (NAM=MAX$PI, TYP=MAX, VAR=$QUE$LEFT.ACT.A,POS=IDX$LEFT)
FCNVAL (NAM=MAX$PI, TYP=MAX, VAR=$QUE$LEFT.ACT.A, POS=IDX$RIGHT)
……
!Reading the parameters of element PI_RES queue and storing them in Real-Variables
descriptor (e.g.: A,B,C,etc.).
GETVAL (NAM=CUM$LEFT,OBJ=PI_RES(1).ACT,DSC=A,TYP=ELE)
GETVAL (NAM=CUM$RIGHT,OBJ=PI_RES(3).ACT, DSC=A,TYP=ELE)
GETVALS (OBJ=PI_RES(2).ACT,TYP=ELE, RDS=(A,B,C), REA=(IND$LEFTAVG,IND$LEFTMAX,IND$LEFTMIN)
GETVALS (OBJ=PI_RES(4).ACT, TYP=ELE, RDS=(A,B,C), REA=(IND$RIGHTAVG,IND$RIGHTMAX,IND$LRIGHTMIN)
! Editing text for macro mask.
EDTTXT (NAM=MSK)
! The text object is subsequently converted with CNVTXT
CNVTXT (NAM=MSK)
! Define UVS variable
DFNUVS (NAM=RES$OUT, DSC=MSK)
! Rewritting the fields of universal object RES$OUT.,these fields are described by strings (e.g.: a,b,c,etc.).
PUTVALS (OBJ=RES$OUT, TYP=UVS, RDS=(h,i,a,b,c,d,e,f,g), VAL=(IND$LEFTAVG,……)
LISUVS (NAM=RES_OUT, MSK=MSK)
Result data are as follows:
Bevel gear evaluation listing of pitch & runout
Number of teeth : 22
Individual pitch left : MAX:0.040 / MIN:0.010 / AVG:0.025
Cumulative pitch left : MAX:0.050
Individual pitch right: MAX:0.050 / MIN:0.020 / AVG:0.035
Cumulative pitch right: MAX:0.050
Runout : 0.025
----------------------------------- quindos BEVELGR --------------------------------------
NOTE:1,This program is only used for prelection,not used for measurement.
2,You can create ASCII file with command CNVCONDG ,about the particular information of this command you can read the reference manual of quindos option DGSURF .