Jump to content

GRADES


---
 Share

Recommended Posts

Hi all,

Hi would you output on the report different grades of the cylinder bore ?
PCM ?

E.G:

83.000 + 0.018 'A'
83.000 + 0.027 'B'
83.000 + 0.037 'C'
Anything above red
Anything below red
Link to comment
Share on other sites


OSP_A_MIN = 86.94                      	// MIN Diameter Group A "1"
OSP_A_MAX = 86.97                      	// MAX Diameter Group A "1"
OSP_B_MIN = 86.99                      	// MIN Diameter Group B "2"
OSP_B_MAX = 87.02                      	// MAX Diameter Group B "2"
OSP_C_MIN = 87.04                      	// MIN Diameter Group C "3"
OSP_C_MAX = 87.07                      	// MAX Diameter Group C "3"

/////////////////////////////////////////////////////////////


selectCase getActual().actual

case  OSP_C_MIN to OSP_C_MAX   
BGrade=3


case OSP_B_MIN to  OSP_B_MAX  
BGrade=2


case OSP_A_MIN to  OSP_A_MAX      
BGrade=1

caseElse 
BGrade=0

endSelect
Link to comment
Share on other sites

 Share

×
×
  • Create New...