×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

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!

*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

Writing post-processor for CNC lathe

Writing post-processor for CNC lathe

Writing post-processor for CNC lathe

(OP)
Would anyone have an idea where to find some information about writing post-processor for CNC machines?

Thanks

RE: Writing post-processor for CNC lathe

usually any CAM software contains data about its post processor
i.e help or something
you can modify the post processor of any software according to the codes your machine understands and this is always not a very difficult stuff

RE: Writing post-processor for CNC lathe

Hi,

We have found that for simple 3 axis machining, it is sufficient to modify an existing post to suit our needs. generic posts are usually supplied with CAM software.
However, for more complex and specialised machining, (eg 5 axis maching of complex surfaces), we have found that writing our own posts using Visual Basic gives us the most control over the tool. Once you have a CL (cutter location) or APT file you can write your own post, which works with your machines in the way you want it to.

RE: Writing post-processor for CNC lathe

thanks a lot Jmark you helped us so much reaching the point but unfortunately
airuno is askink for absolutely different story ,
he is a student in the first degree in the university of agriculture  and wants to learn the early beginings of G codes and post processors I doubt that he knows what a milling machine is .
but anyway thanks a lot

RE: Writing post-processor for CNC lathe

(OP)
Thanks for your help guys, but I am looking for an information about WRITING new post, not modifying existing one. I am making a simple application in VB which will be able to convert a tool path into G codes and vice versa. I can do hard coding to suit my machines, but I would like to know how commercial CAM packages do post-processing. This application is meant to be for CNC lathes with live tooling at this stage.

Thank you

RE: Writing post-processor for CNC lathe

airuno,

Here is how mastercam works:
An NCI file is generated by the software which contains tool, cycle and cutter location information. The file is set out as follows:
CYCLE
PARAMETERS

For example, a rapid move would be defined by the following 2 lines:
0
10.5 3.8 1 0
In this example, the first line contains a zero which defines that the following parameters are for a rapid move. The second line contains the rapid move parameters: x position, z position, cutter comp, move angle.

The post processor merely needs to have a databse of all the cycle numbers and what parameters each one requires. Converting this into G-code is then straightforward.

RE: Writing post-processor for CNC lathe

(OP)
Thank you jmarc, this was the information I was looking for. It is all clear now.

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! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now