hexagon logo

REA value to report

Hi,
I’m measuring several equal bearing retainers, where I ask if there will be one more retainer to measure in the end of program.
If yes, the program loop to a label in top of program and add one to a counter (NUM), which is the number of the retainer.

I would like to have this number written to the report, but I'm struggling, how to solve this.
Hopefully someone can tell me how this is done.

! Workpiece name : Pin_Hinge_Trunion
START (WKP=Pin_Hinge_Trunion, TOP=N, EDIT=Y, TEI=Y)
NUM=0
10:CONTIN
NUM=NUM + 1
TEXT (STR=Retainer number: ) Would like the LDBREA:NUM value here
INQYENO (CHS=~LINK, MSG=SVAR, RED=N)
TESTSTR (NAM=LINK, ST1=~LINK, ST2=Y)
IFGOTO (VAL=LINK, LT0=20, EQ0=10
20:CONTIN


Thanks,
Roy
Parents Reply Children
No Data