×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

custom cycles

custom cycles

custom cycles

(OP)
Hi,
I am learning the use of NX.
To learn about postprocessor, I am creating a lathe postprocessor, and I want the generated code with cycles.
If I am correctly, the fist thig I should do is create a custom cycle in NX to generate the event.

Is this correct? Is there any other way to do it?

Thanks everybody!!

RE: custom cycles

In Post Builder create a lathe post with a Siemens 840D lathe control.
In NX create a rough turn OD operation, and set the motion output to machine cycle.
(You could also open the sample mill turn part and edit the OD operation there)
Postprocess the operation through your new post and you will see CYCLE95 output.
That should get you started...

Mark Rief
Product Manager
Siemens PLM

RE: custom cycles

(OP)
Yes, I saw the postprocessor from Siemens. It uses the contour_start and contour_end events, however, I don´t know how to activate this events.
Do you know how to activate it?

RE: custom cycles

You have to have some text (cycle 95) or somthing like it in your post. Those terms only make sense to a Siemens controller, it is not what you might think contour start or end should be. I was also told that they will provide documentation on these commands in a future release.

RE: custom cycles

(OP)
Debuging this post, I can see that it listen the event MOM_contour_start, and when it occurs, saves the trayectory and doesn´t print. When MOM_contour_end occurs, it prints the next line:
"N80 CYCLE95("G95:G95_END",60.,0.5,0.7,0.,0.7,0.5,0.7,2,0.,0.,0.)"

as you can see, the trayectory will be output in a block from G95 to G95_END.
This block, is printed when MOM_end_of_program occurs.

I understand the post, however, I can´t find the way to activate the listen to the MOM_contour_start and MOM_contour_end events, I think this is the key.

RE: custom cycles

To get the contour start and rend events, set the motion output to machine cycles.
Machine cycles are only available for some turning operations.

Mark Rief
Product Manager
Siemens PLM

RE: custom cycles

(OP)
I just tried, but it doesn´t work!!!!

I tried to setup the operation in machine cycle, and creating a new postprocessor, in the .tcl code I wrote:

#=============================================================
proc MOM_contour_end { } {
#=============================================================
MOM_output_literal "MOM_contour_end"
}


#=============================================================
proc MOM_contour_start { } {
#=============================================================
MOM_output_literal "MOM_contour_start"

}


And the result of the generation is:

%
N0010 G94 G90 G71
N0020 G92 X0.0 Z0.0
N0030 T00 H00 M06
N0040 G97 S0 M03
N0050 G94 G00 X34.2 Z.5
N0060 G96 S0 M03
N0070 G95 G01 X33. F.1
N0080 X18.8
N0090 X-1.2
N0100 X-2.4 F1.
N0110 M02
%


There is no message!!!!

RE: custom cycles

What event did you attach the proc to?

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5 & NX8.5
Vericut7.2.3

RE: custom cycles

(OP)
I didn´t attach any event, How can I do that?

RE: custom cycles

It appears that you need to get some training in Post builder or at the very least review the help docs.

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5 & NX8.5
Vericut7.2.3

RE: custom cycles


You can drag and drop a custom command to a procedure such as Start of Path or End of Path

John Joyce
N.C. Programming Supervisor
Barnes Aerospace, Windsor CT
NX6, NX7.5 & NX8.5
Vericut7.2.3

RE: custom cycles

To see those events in Post Builder, you need create your post using the Siemens 840D Lathe control.

Mark Rief
Product Manager
Siemens PLM

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources