Cancel
Showing results for 
Search instead for 
Did you mean: 

UDE or post edit to suppress excessive B C clamp / unclamp codes

Pioneer
Pioneer

 

Anyone know of a UDE or post edit that would prevent the recall of the B, C axis clamp un clamp codes when using the same tool and the B and C axis have not changes? Each time the machine reads the M11,M1 and M10,M12 the machine dwells for a few seconds while the brakes unlock then lock.

 

Please see code below

 

 

 

T2

G53 Z2.5

G90 G10 L11 P#3026 R0. (ADJUST H VALUE)

G90 G10 L13 P#3026 R0. (ADJUST D VALUE)

S10695 M3

G17 G90 G54

G254

M11 **********this is ok

M13   **********this is ok

G0 B0.0 C0.0

M10 **********this is ok

M12    **********this is ok

G94 G90 X-7.8849 Y-1.087

G43 Z1.712 H#3026 M8

Z-.625

G1 X-7.8849 Y-1.087 Z-.725 D#3026 F64.2

G41 X-7.8349 Y-1.0888 D#3026

X-7.8099

G3 X-7.7599 Y-1.0388 I0.0 J.05

G1 Y1.0386

G2 X-7.5672 Y1.2897 I.26 J0.0

G1 X-7.4366 Y1.3247

G2 X-7.3693 Y1.3336 I.0673 J-.2511

G1 X-7.0029

G2 X-6.7429 Y1.0736 I0.0 J-.26

G1 Y.5037

G3 X-6.4218 Y.0386 I.4914 J-.0041

X-6.2529 Y.0086 I.1689 J.46

X-6.2029 Y.0586 I0.0 J.05

G1 Y.0836

G40

X-6.2047 Y.1335

Z-.625

G40

G0

Z1.712

G255

(FIN_FACE_OP1)

S10695 M3

G90 G54

G254

M11 **********this is not needed

M13   **********this is not needed

G0 B0.0 C0.0

M10 **********this is not needed

M12   **********this is not needed

G40

G90 X.3175 Y-2.4969

Z1.706

G40

Z-.625

G40 G1 X.3175 Y-2.4969 Z-.725 D#3026 F64.2

G41 X.268 Y-2.5039 D#3026

X-.0521 Y-2.5603

X-2.9701 Y-3.0748

X-3.2902 Y-3.1313

G40

X-3.3391 Y-3.1417

Damian Forsythe
Impact Manufacturing Group
NX 10.0.3.5
4 REPLIES

Re: UDE or post edit to suppress excessive B C clamp / unclamp codes

Esteemed Contributor
Esteemed Contributor

Whether or not they are un-needed depend on your point of view ;-)

If you want to be able to restart your code (on the machine) at *any* operation (and note there may have been other operations at different B/C angles before the restart), you need these unclamps/clamps.

If you are going for production speed, and NEVER want to restart at arbitrary operations, then maybe they aren't.

 

I'm guessing what you have has been set up in the post, that every operation does an unclamp/orient/clamp sequence.

Look in the "first move" event to see what the post is doing there.

If that isn't it, you'll have to hunt down the event causing this, and fix it there.

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: UDE or post edit to suppress excessive B C clamp / unclamp codes

Is there a CLAMP UDE in the opertion now? If not, then it's probably hard coded in your post.

Mark Rief
Retired Siemens

Re: UDE or post edit to suppress excessive B C clamp / unclamp codes

Pioneer
Pioneer

"Whether or not they are un-needed depend on your point of view ;-)"

 

Agreed. This is the only production part we have and will run for the next 8-12 months.  I would not put cycle time over safety so I plan to do some testing before any edits.  We do not hand edit code so I would prefer to be able to post the way we run it.  I looked in the post and you were correct. 

 

Do you think it is possible to check if B or C is not equal to zero and if so then output the clamp codes?

 

 

global im_254_flag
global dpp_ge
 
 
 
  if {[string match $dpp_ge(sys_tcp_tool_axis_output_mode) "AXIS"] && $dpp_ge(toolpath_axis_num)=="5"} {
     MOM_output_literal "M11"
     MOM_output_literal "M13"
     return
  }
 
 
 
if {![hiset im_254_flag]} {
 
MOM_output_literal "G254"
#MOM_output_literal "X0 Y0 Z0"
set im_254_flag 1
MOM_force once G_motion
MOM_output_literal "M11"
MOM_output_literal "M13"
}

 

Damian Forsythe
Impact Manufacturing Group
NX 10.0.3.5

Re: UDE or post edit to suppress excessive B C clamp / unclamp codes

Pioneer
Pioneer

Mark,

 

No ude for clamp.  it is all in the post.

Damian Forsythe
Impact Manufacturing Group
NX 10.0.3.5

Learn online





Solution Information