5/24/2024 5:17 AM | |
Joined: 5/24/2024 Last visit: 5/27/2024 Posts: 1 Rating: (0) |
Dear all I am a NC programming engineer. The system version is Siemens 840Dsl. My question is: I am machining a product. I have a hole and I need to determine if the hole diameter is out of tolerance by using a probe. The program is as follows: N62 IF _OVR[4]<YD33HOLE_D_MinTol N63 MSG("Hole diameter is small") N64 M1 N65 $TC_DP4[GETT("KOMET2",2),2]=$TC_DP4[GETT("KOMET2",2),2]-(_OVR[16]/2) N66 GOTOB YD33 N67 ENDIF N68M0 N71 IF _OVR[4]>YD33HOLE_D_MaxTol N72 MSG("Hole diameter is large") N73 M0 N74 M2 _OVR[4] is the measurement result value. MSG("Hole diameter is large"). This line of code that I would like to tell the operator in a popup window. Like the popup window in this picture: How to make this popup window. Write Hole diameter is large in the popup window Please give me ideas, or hints. I will thank you very much. I'm not a native English speaker, so thanks for browsing. ------------------------------------------------------------------------------------------ |
Last edited by: Jen_Moderator at: 05/24/2024 09:03:20New subject after splitting Last edited by: AutoGen_7477298 at: 05/27/2024 00:40:05 |
|
Follow us on