How To Write Cnc Lathe Programs

Leave a comment

Hi all.new to the community and have a question about HAAS lathe programming. Can anyone give me a simple example of a lathe program. For instance, something like a simple punch with say maybe 3 steps on it? Just looking for a place to start as I don't have any experience on a CNC lathe with manual programming. Any help is appreciated.Here ya go, this is for a threaded part with 2 different diameters.

There are some repititions on the diameter as this part is only.060' in diameter at its smallest section, being fairly long and me not wanting to set up the tailstock for it I corrected the tappering issues by machining the small section several times at slower and slower feedrates. I only needed 10 of these, if I needed more then I would have programmed it differently to reduce my cycle time.% O00600 (CLR0006 REVA) T808 (.375 360 BRASS) (1.2 IN. FROM CHUCK FACE) G00 Z2. G28 T505 (80 DEG INS) G54 G50 S2500 G96 S200 M03 G00 X0.424 / M08 G00 Z0.05 G72 P101 Q102 U0 W0 D0.015 F0.002 N101 G00 Z-0.03 G01 X-0.025 N102 G01 X-0.025 Z0.05 G00 X0.374 Z0. M01 (OD TURN) T505 G54 G50 S3000 G96 S300 M03 G00 X0.449 / M08 G00 Z0.05 G71 P101 Q102 U0 W0 D0.025 F0.002 N101 G00 X0.11 G01 X0.11 Z-0.665 N102 G01 X0.449 G00 X0.449 Z0.05 M09 G00 X2.

M01 (OD TURN) T505 G54 G50 S3000 G96 S300 M03 G00 X0.185 / M08 G00 Z0.05 G71 P101 Q102 U0 W0 D0.025 F0.0005 N101 G00 X0.11 G01 X0.11 Z-0.665 N102 G01 X0.185 G00 X0.185 Z0.05 M09 G00 X2. M01 (OD TURN) T505 G54 G50 S3000 G96 S300 M03 G00 X0.185 / M08 G00 Z0.05 G71 P101 Q102 U0 W0 D0.015 F0.002 N101 G00 X0.06 G01 X0.06 Z-0.25 N102 G01 X0.185 G00 X0.185 Z0.05 M09 G00 X2. M01 (OD TURN) T505 G54 G50 S3000 G96 S300 M03 G00 X0.135 / M08 G00 Z0.05 G71 P101 Q102 U0 W0 D0.015 F0.0005 N101 G00 X0.06 G01 X0.06 Z-0.25 N102 G01 X0.135 G00 X0.135 Z0.05 M09 M01 (OD TURN) T505 G54 G50 S3500 G96 S300 M03 G00 X0.135 / M08 G00 Z0.05 G71 P101 Q102 U0 W0 D0.015 F0.0002 N101 G00 X0.06 G01 X0.06 Z-0.25 N102 G01 X0.135 G00 X0.135 Z0.05 M09 (OD CHAMFER) T505 G54 G50 S2500 G96 S200 M03 G00 X0.16 / M08 G00 Z-0.2 G71 P101 Q102 U0 W0 D0.01 F0.002 N101 G00 X0.06 G01 Z-0.25 N102 G01 X0.11 Z-0.3075 G00 X0.11 Z-0.25 M09 G00 X2.

G28 M01 (OD THREAD) T606 (ON EDGE INS.) G54 G97 S2000 M03 G00 X0.21 Z-0.175 G04 P1. / M08 M24 G76 X0.0805 Z-0.515 K0.0347 I0. D0.01 F0.025 G00 X0.21 Z-0.175 M09 M01 (OD THREAD) T606 G54 G97 S2000 M03 G00 X0.21 Z-0.175 G04 P1. / M08 M24 G76 X0.0805 Z-0.515 K0.0347 I0. D0.01 F0.025 G00 X0.21 Z-0.175 G00 X2. M09 G28 M01 (PART OFF WITH PECK) T707 G54 G50 S1500 G96 S300 M03 G00 X0.161 / M08 G00 Z0.05 G00 X0.161 Z-0.584 M36 G75 X-0.05 Z-0.584 I0.005 F0.001 M37 G00 X0.161 G00 X0.161 Z0.05 G00 X2. M09 M05 G28 M01 T808 (STOP BLOCK) G00 Z0 X0 M30% Hope this helps.

Conversational controls can be thought of as a single-purpose CAM system, making it quick and easy to generate a program right at the machine. With print in hand, the setup person can step up to the machine and quickly create the CNC program. Conversational controls allow programs to be entered without any need for math, and take much of the tediousness out of programming. With one popular turning center conversational control, for example, average programming time is under ten minutes.

Sorry for the delay. Trust me, I have not evaporated into thin air. I've programmed with Mastercam X3, but it wants to post out the LONG version of turning. This may be due in part to not having the proper post for the HAAS lathe. I'm interested in canned cycles for some of the turning etc. I've got a HAAS lathe programming workbook, but honestly, some of the things in there don't give the reasons for doing what's there.

I like to know why I'm doing something, not just taking it for granted. Anyway, thanks for the replies. Sorry for the delay. Trust me, I have not evaporated into thin air. I've programmed with Mastercam X3, but it wants to post out the LONG version of turning. Lux auto brightness 1.75 apk download. This may be due in part to not having the proper post for the HAAS lathe.

I'm interested in canned cycles for some of the turning etc. I've got a HAAS lathe programming workbook, but honestly, some of the things in there don't give the reasons for doing what's there. I like to know why I'm doing something, not just taking it for granted. Anyway, thanks for the replies.There is nothing wrong with the long version, after all the software is writing it, not you. If you have a cam package then by all means let it do the work for you.

I thought the work book combined with the owners manual did a pretty good job of explaining canned cycles. Did your machine come with vqc templates?

Free google update download page. --- --- --- --- --- • Learn how to protect yourself: => In order to stay protected it is very important that you regularly update all of your software and Windows Operating System. It is important that you visit regularly.

If so it will write out the canned cycles based on answering a few dimensional questions that it asks you. The intuitive programming system works in much the same way as the vqc templates. Hope this helps. I agree, there is nothing wrong with the long version MasterCam generates.