hexagon logo

Subroutines?

Hello All,

Could I report measurements from a subroutine in a main program?

Details:

I check these large valves on my 7107. The pocket is the same for all the valves however the end connections change. My fixtures holds the valves by the end connections so the location of the pockets moves around the CMM table. I thought I was being clever by copying 1 program, moving a face either in or out for the alignment and then save as new part number and boom. 2nd program done. I did it again for a 3rd part number, another boom, so things are going pretty good. Now I've run into a problem. I was using a 25mm steel disc probe to check these deep diameters and I found corrosion on my disc probe and it looks like my steel cal sphere is starring to show the same corrosion around its equator. So I switched to a star probe. In 1 program, I had to create and combine 4 auto circles to report some diameters 3 times and a few other edits. Now I have to repeat that process from my other programs to I could get rid of this disc probe. I was thinking maybe if this was in a subroutine, I could use my main program to align to the part, call the sub, and then check my various end connections and be done. That way, if there are any pocket edits, I could edit the subroutine and be good with all my other program? My star probe was loaded with slots 2-5 but now i'm thinking of making it a complete 5 way star which means I would have to do a lot more manual editing for each of my programs.

Make sense?
Parents
  • I've been messing around with this all week at the CMM and I think i'm on the right track. Sub program does manual and dcc alignment and checks 1 diameter. Main program recalls the dcc alignment, calls the sub, and check another diameter for a total of 2 diameters on the report.

    I don't plan on using features from the subprogram into the main program. I just need to know how good or bad the features are. I also have to figure out my file IO to my .csv.
Reply
  • I've been messing around with this all week at the CMM and I think i'm on the right track. Sub program does manual and dcc alignment and checks 1 diameter. Main program recalls the dcc alignment, calls the sub, and check another diameter for a total of 2 diameters on the report.

    I don't plan on using features from the subprogram into the main program. I just need to know how good or bad the features are. I also have to figure out my file IO to my .csv.
Children
No Data