Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Defining Work offsets ofther than g54-59?

I have the standard work offsets g54-59, but also have more offsets that are called out as g54.1 p10 where p can be 10-64.

 

I also usually type in 54 in the fixture offset dialog in the MCS geometry, but I cant seem to type in g54.1 p10  , only integers. How do people get around this

Using NX 8.0.3.4
5 REPLIES
Solution
Solution
Accepted by topic author aluminum2
‎08-26-2015 04:32 AM

Re: Defining Work offsets ofther than g54-59?

There are may ways - look in uganswer for some others...

Typically what I do in my posts (stolen from someone else)

1) MCS value starts at 1 & goes up from there

- if 1 then post will output G54

- if 6 then post will output G59

- if 7 then post will output G54.1 Pn (n = 1 thru whatever, or in your case 10 thru whatever)

 

2) Post sets up an couple arrays (1 thru whatever)

- Main code = "54" part.  so main_array(1) = 54 thru  (6) = 59; then main_array(7) thru (whatever) = 54

- suffix = ("Pn" part), so suffix_array(1) thru (6) are "" (empty string); suffix_array(7) thru (end) = " Pn" (note leading space & n = appropriate number)

 

These are defined in a couple "for" loops 

 

3) Set up separate G word in post for fixture offsets

- prefix = G

- format = Digit_2 (or whatever)

- value = $main_array($mom_fixture_offset_value)

- suffix = $suffix_array($mom_fixture_offset_value)

 

This way is "generic" across control types (e.g. on Okuma it will output G51 H1 thru G15 Hn) without editing the MCS object.

 

Hope this makes sense...

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: Defining Work offsets ofther than g54-59?


aluminum2 wrote:

I have the standard work offsets g54-59, but also have more offsets that are called out as g54.1 p10 where p can be 10-64.

 

I also usually type in 54 in the fixture offset dialog in the MCS geometry, but I cant seem to type in g54.1 p10  , only integers. How do people get around this


Ken has some good comments, and I am sure a search will turn up some examples.

 

In general, formatting and machine-specific numbering should be done by the postprocessor, not the user.

 

In NX, you should enter "1" for the first fixture offset, and let the post figure out what that is - G54 or G54.1P10 or E1 or whatever the control requires.

 

Before the flares start, I understand that if all your machines are the same, you can enter "54" in the MCS dialog instead of "1". That's easy in the short term... until you get that next machine.


 

Mark Rief
Retired Siemens

Re: Defining Work offsets ofther than g54-59?

This can work too.  Then you just have to use a string to output your fixture offset.  The sim07 has a term called msc_additional_g or something that's a string.  This is what I use.

 

switch $mom_fixture_offset_value {
	54 {set mcs_string G54}
	55 {set mcs_string G55}
	56 {set mcs_string G56}
	57 {set mcs_string G57}
	58 {set mcs_string G58}
	59 {set mcs_string G59}
	10 {set mcs_string "G54.1 P10"}
	11 {set mcs_string "G54.1 P11"}
	|||||||||||||||||||||||
	|||||||||||||||||||||||
	|||||||||||||||||||||||
	|||||||||||||||||||||||
	53 {set mcs_string "G54.1 P53"}
	54 ????????????????????????????
	55 ????????????????????????????
	56 ????????????????????????????
	57 ????????????????????????????
	58 ????????????????????????????
	59 ????????????????????????????
	60 {set mcs_string "G54.1 P60"}
	61 {set mcs_string "G54.1 P61"}
	62 {set mcs_string "G54.1 P62"}
	63 {set mcs_string "G54.1 P63"}
	64 {set mcs_string "G54.1 P64"}
	}

The only problem is once you get back to 54 when using the G54.1 PXX number.  The switch is nice because as Mark stated, you just chage  set mcs_string "XXXXXXX" to whatever you machine needs to see.

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

Re: Defining Work offsets ofther than g54-59?

Thanks, I will have to formulate something similar to these responses.

Using NX 8.0.3.4

Re: Defining Work offsets ofther than g54-59?

I agree with Mark.  This, at least for us, keeps things consistant with our probing routines. 

1 = G54, 101 = G54.1P1

John Joyce, Manufacturing Engineer,
Senior Aerospace Connecticut
www.senioraeroct.com
Production: NX10.0.3.5, Vericut 8.0
Development: Tcl/Tk
Testing: NX11.0.1

Learn online





Solution Information