cancel
Showing results for 
Search instead for 
Did you mean: 

G71 ROUGH Turning Cycle - How simulate in CSE?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

How I can simulate G71 turning rough cycle (FANUC) in CSE? Is it possible?

 

(OD CANNED ROUGH)

N27 G00 X3.5

N28 G00 Z0.0615

N29 G71 U0.125 R0.03

N30 G71 P31 Q40 U0.02 W0.01 F0.018

N31 G00 X0.8903

N32 G01 X1.1817 Z-0.0842

N33 G03 X1.2 Z-0.1063 R0.0313

N34 G01 Z-1.125

N35 G01 X2.7875

N36 G03 X2.8317 Z-1.1342 R0.0313

N37 G01 X2.9817 Z-1.2092

N38 G03 X3.0 Z-1.2313 R0.0313

N39 G01 Z-2.225

N40 G01 X3.5

N41 G00 Z0.1

 

6 REPLIES

Re: G71 ROUGH Turning Cycle - How simulate in CSE?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Impossible?

Re: G71 ROUGH Turning Cycle - How simulate in CSE?

Esteemed Contributor
Esteemed Contributor

1) What version of NX?

2) How did you create the post? (what version of PB) (if you use the Library -> Fanuc control in PB10 you may get support that previous version's didn't have)

3) If you use CSE, you may need the G71 macro defined somewhere (this exhausts my knowledge of how CSE works, someone else will have to help on how/where to set this up)

 

Ken

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: G71 ROUGH Turning Cycle - How simulate in CSE?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Thank you, Ken!

NX9.0.3

I know how I can solve it in PB.

Problem with CSE simulation, I feeling - I must to look for setMotionBuffer etc., but - cannot find any example.

 

Re: G71 ROUGH Turning Cycle - How simulate in CSE?

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi chigishev,

 

at first... you picket out a "nice" task ;-) It´s not so easy, but if you want to do this, it´s possible.

 

I only can give you some hints from the S840D implementation for the Metacodes CONTPRON and EXECUTE which are used within the Cycle95. Please read the DocOnWeb/DocOnCD S840D manual to understand how this commands are working. I do not know how the FANUC controller works and which commands a similar to the S840D BUT the process should be the same. I entered the s840D commands in () at the beginning of the steps.

 

1.) (CONTPRON) You have to create an empty"contour table" (e.g. use a global variable) and activate the MotionBuffer with SetMotionBuffer =TRUE --> all subsequent motions will be considered 

 

2.) (CALL) Collect the desired contour/NC Code and fill it into that variable

 

3.) (EXECUTE) After you have collected the contuoryou can access the buffered motions by the CSE command getMotionBuffer()

 

4.) (EXECUTE) to get the details of the buffered motions you can use the CSE commands length(getMotionBuffer()), getMotionType and getMotionCoordinate --> getCoordinateJointValue 

 

5.) (EXECUTE) when you´ve finished the processing of all motions set SetMotionBuffer=FALSE

 

I hope it brings you in the right direction. As I said it´s pretty complex. You have to drink a lot of coffee or tea  and make some breaks ;-)

 

Any feedback would be grateful

 

ThomasF

 

Re: G71 ROUGH Turning Cycle - How simulate in CSE?

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Thanks, Thomas! I thinking about a same way, I have a lot of coffe and tea and I have all chanses to do it. I agree, it very interesting task.

I dont mark your answer as Solution, but - thank you very much!

Re: G71 ROUGH Turning Cycle - How simulate in CSE?

Esteemed Contributor
Esteemed Contributor

Do you have access to NX10/PB 10?

Maybe make a simple part & Siemens(or Fanuc) post, and see if simulation works for that, then you have some code examples (? myabe you can look thru?

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


Learn online





Solution Information