Showing results for 
Search instead for 
Do you mean 
Reply

Probing on the mill using renishaw macro

 

I’m trying to edit the OOTB probing_cycles_fanuc to work with our reinshaw inspection plus macros on the mill. I created a nx cam probing operations and posted the code below. Im trying to figure out where I can edit the actual G65 cycle call ( P9811 ) inside post builder. After I get it all working I will try to merge it in the our actual post ( project for another day) anyone have experience with this? It seems the probing_cycle_fanuc is empty except for the UDE page

 

N0010 G65 P9810 X0.0 Y6.6 Z2.5 F400. M00
N0020 G65 P9810 X0.0 Y6.6 Z1.4 F400. M00
N0030 P9811 Y6.1 H0.0 S54 T00 W00
N0040 G65 P9810 X0.0 Y6.6 Z2.5 F400. M00
N0050 G65 P9810 X-2.6 Y5.6 Z2.5 F400. M00
N0060 G65 P9810 X-2.6 Y5.6 Z1.4 F400. M00
N0070 P9811 X-2.1
N0080 G65 P9810 X-2.6 Y5.6 Z2.5 F400. M00

 

25 REPLIES

Re: Probing on the mill using renishaw macro

Hello!

I think - I have some experience for this question. Just now I develop a lot of measuring cycles for MAZAK e1060, same Renishow cucles. At start of my project I try to use a same way, but - more easy was to build my own events for template probing.prt, add my own mom-variables and now I have ~20 my own measuring cycles.

 

 

Video

Re: Probing on the mill using renishaw macro

I just watched the video and looking at your screen shot, it seem that is exactly what im trying to do.  is there ant documentation on this specific subject?

 

Re: Probing on the mill using renishaw macro

No. May be - I not found docs. Main idea - I have customized probing.prt (I add new sub-operations), I add new mom-vars into these sub-operations and - I add new events into postprocessor.

For me was not enough Renishaw cycles, for example, bore&boss measuring for B=0 or B-90 only, I add O9814 for any B, for few depths, with calculation on the CNC Machine diameter of hole or boss, deviation from center and angle beetween theoretial and real axis of hole.

It very interesting!

Re: Probing on the mill using renishaw macro

I too created my own operation.  This one checks the stock before running to make sure that they loaded the right size material.  I had the mom variable setup in the post to then collect the information from the operation and run it through a tcl file sourced into the post.

 

Jake Hardwick
CNC Programmer
Senior Aerospace AMT
Production NX8.5.3.3 Beta testing NX10.0.1.4

Re: Probing on the mill using renishaw macro

Thats pretty trick.....

 

NX11.0.1

Re: Probing on the mill using renishaw macro

..Rambo, how you add image to dialog? I will check it, but for nx8.5 it was impossible, my opinion...

Re: Probing on the mill using renishaw macro

Here is the code from the ude.cdl file

 

#--------------------------------------------------------------------------- 
EVENT Chiron_probe_stk
{
	POST_EVENT "Chiron_probe_stock"
	UI_LABEL "Chiron Probe Stock"
	UI_HELP "CLICK HELP BUTTON FOR MORE INFO --->>>"
	"file://AMTFILE01/Engineering/Programming/NX_CUSTOM/8.5/CAM/user_def_event/help/probe_stock.htm"
	CATEGORY MILL
   
	PARAM command_status
	{
		TYPE o
		DEFVAL "Active"
		OPTIONS "Active","Inactive","User Defined"
		UI_LABEL "Status"
	}
   
	PARAM probe_bitmap
	{
		TYPE l
		DEFVAL "chiron_probe.bmp"
	}
	
	PARAM probe_stk_pt_1
	{
		TYPE p
		UI_LABEL "1st point, top corner on locating side of stock."
	}
	
	PARAM probe_stk_pt_2
	{
		TYPE p
		UI_LABEL "2nd point, top corner opposite locating side."
	}
	
	PARAM probe_stk_pt_3
	{
		TYPE p
		UI_LABEL "Point on face of dovetail rails"
		TOGGLE On
	}
   
    PARAM group_start_1
	{
		TYPE g
		DEFVAL    "start_closed"
		UI_LABEL  "Clearance Options"
	}
	
		PARAM probe_z_value_flag
		{
			TYPE d
			DEFVAL "12.0"
			TOGGLE Off
			UI_LABEL "Override Z position for cycle"
		}
		
		PARAM probe_fast_feed
		{
			TYPE i
			DEFVAL "50"
			#TOGGLE Off
			UI_LABEL "Feed rate for positioning near part."
		}
		
		PARAM probe_faster_feed
		{
			TYPE i
			DEFVAL "100"
			#TOGGLE Off
			UI_LABEL "Feed rate for positioning above part."
		}
		
		PARAM probe_dist_from_corner
		{
			TYPE d
			DEFVAL "0.500"
			#TOGGLE Off
			UI_LABEL "Distance to probe from corner point"
		}
		
		PARAM probe_dist_from_stock
		{
			TYPE d
			DEFVAL "0.500"
			#TOGGLE Off
			UI_LABEL "Clearance distance from edge of stock"
		}
		
	PARAM group_end_1
	{
		TYPE g
		DEFVAL  "end"
	}
	
	PARAM group_start_2
	{
		TYPE g
		DEFVAL    "start_closed"
		UI_LABEL  "Tolerance Options"
	}
	
		PARAM probe_tol_corner_1
		{
			TYPE d
			DEFVAL "0.050"
			#TOGGLE Off
			UI_LABEL "Tolerance of corner point 1"
		}
		
      	PARAM probe_tol_corner_2
		{
			TYPE d
			DEFVAL "0.150"
			#TOGGLE Off
			UI_LABEL "Tolerance of corner point 2"
		}
		
      	PARAM probe_tol_stock_height_plus
		{
			TYPE d
			DEFVAL "0.075"
			#TOGGLE Off
			UI_LABEL "PLUS Tolerance of stock height"
		}
		
      	PARAM probe_tol_stock_height_minus
		{
			TYPE d
			DEFVAL "0.025"
			#TOGGLE Off
			UI_LABEL "MINUS Tolerance of stock height"
		}
		
      	PARAM probe_tol_stock_width
		{
			TYPE d
			DEFVAL "0.150"
			TOGGLE Off
			UI_LABEL "Tolerance of stock width"
		}
		
		PARAM probe_tol_stock_length
		{
			TYPE d
			DEFVAL "0.150"
			TOGGLE Off
			UI_LABEL "Tolerance of stock length"
		}
		
   	PARAM group_end
	{
		TYPE g
		DEFVAL  "end"
	}
	
}
#---------------------------------------------------------------------------

 Then you have to set the bmp folder location in your ugii_env.dat file

 

UGII_BITMAP_PATH=${UGII_SITE_DIR}\CAM\user_def_event\

 Then the help butting pulls up a custom HTML file to explain how to use the UDE

Jake Hardwick
CNC Programmer
Senior Aerospace AMT
Production NX8.5.3.3 Beta testing NX10.0.1.4

Re: Probing on the mill using renishaw macro

I'm thinking the "l" parameter and some of the other stuff was introduced in NX9

Check your (NX8.5) docs on setting up UDEs (I don't have NX8.5 docs loaded, so I can't check)

Something like

Manufacturing -> Manufacturing General -> Customizing your environment -> User defined events -> ...

Ken Akerboom Sr CAx Systems Engr, Moog, Inc.
Production: NX10.0.3.5 MP5 + patch/TC11.2
I'd rather be e-steemed than e-diseaseled


Re: Probing on the mill using renishaw macro

I'm currently using NX8.5.3.3 and bitmaps work.  You can only use 16 bit bitmap images.  The only part that was difficult for me was you just have to make sure that you have the bitmap folder set in the environment variable.  Here's the help doc notes.

 

 

 
Siemens Documentation 

UDE dialog box graphic requirements

You can include a graphic in the dialog box that appears in NX when a user adds your event to illustrate the meaning of parameters in the event.

  • The graphic must be a 16-color BMP file.

  • The recommended width is 280 pixels.

  • The default folder in which to place the graphics is UGII_BITMAP_PATH. If you want to place the graphic in a different folder, you must supply the path. To avoid parser errors, do not include the backslash \ character in your path name.

The following is a code example to include a bitmap in the ude_xxx.cdl file, where xxx stands for your custom name.

PARAM illustration
{
  TYPE l
              DEFVAL  "xxx.bmp"
}
Jake Hardwick
CNC Programmer
Senior Aerospace AMT
Production NX8.5.3.3 Beta testing NX10.0.1.4

Learn online





Solution Information