Cancel
Showing results for 
Search instead for 
Did you mean: 

4th axis rotary clamp/unclamp

Genius
Genius

When using PB_CMD_clamp_fourth_axis_auto in the Postbuilder, how does one disable it for any 4-axis contour milling?

 

NX10.0.1

6 REPLIES 6

Re: 4th axis rotary clamp/unclamp

Siemens Phenom Siemens Phenom
Siemens Phenom

Try turning it off on the previous operation end event, or start event operation on the 4 axis contour. You will need to turn it back on again.

ScreenHunter_02 Jun. 25 07.05.gif

Re: 4th axis rotary clamp/unclamp

Genius
Genius

I would prefer checking for operation type or something of that type to make that decition at the post level and avoid using Start and End events.  Using Start and End events is fine but too much to remember, especially if moving operations around, etc.

 

Re: 4th axis rotary clamp/unclamp

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I use these variables:

 

global mom_operation_type
global mom_tool_axis_type
global mom_tool_path_type

I source in & use a common proc to define my own operation type (so I have fewer options to choose from/simpler logic  elsewhere in the post)

 

 

Be careful that some holemaking/PTP type ops are reported (by mom_tool_axis_type) as being multi-axis even though they aren't contouring.

 

I would put a proc in "start of path" that lists the above variables for each operation.

Run this against test parts that test "all" operation types.

Figure out your logic from there.

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


Re: 4th axis rotary clamp/unclamp

Legend
Legend

Here is something to work with. I assume you are using autoclamp? If not you can modify to control based on how your post clamps. Right click on your operation and select "information" to see what type of operation it is described as. You can control based on type or sub_type. I use the code below to turn of clamping on multiaxis operations on a 5 axis machine. 

 

global dpp_tool_path_type mom_template_type mom_template_subtype
global mom_operation_type mom_tool_axis_type mom_tool_path_type
global mom_sys_auto_clamp


if {($mom_tool_axis_type >= 2 && [string match "Variable-axis *" $mom_operation_type])
set mom_sys_auto_clamp "OFF"
} else {
set mom_sys_auto_clamp "ON"
}

 

 

axis_type.PNG

Glenn Balon
Production: NX 12.0.2 MP7 Primarily CAM

Re: 4th axis rotary clamp/unclamp

Genius
Genius

Turning it off with the UDE does not work.  Still outputs clamp/unclamp!

 

Re: 4th axis rotary clamp/unclamp

Legend
Legend

Did you try adding a command to your post?

Glenn Balon
Production: NX 12.0.2 MP7 Primarily CAM

Learn online





Solution Information