Download presentation
Presentation is loading. Please wait.
1
Computer Aided Manufacturing Post Processing -- Lathe -- Machine Codes Programming Environment Processes
2
Computer Aided Manufacturing To Activate Post In Manufacturing Environment: –Preferences –Manufacturing –Operation –Update Post from Tool (click on)
3
Computer Aided Manufacturing Post Processing CLS out. This creates an information box that shows the screen code for the part file. EMCOLATHE post. This will create rhe actual G code file (.ptp). Both the.cls and.ptp will be saved to the location of the part file.
4
Computer Aided Manufacturing Post Processing The post creates a file: filename.ptp. Bring this into a word document, save it as your file number, and as text only: 0000.txt
5
Computer Aided Manufacturing Post Processing: Step2a.ptp Find and replace all single spaces with a double space Replace all G97 with G96 Replace S0 with S400 Replace M03, with M04 Replace F10. with F10
6
Computer Aided Manufacturing O0134 N0010 G70 G53 G56 M53 N0020 G00 G54 X3.0 Z2.0 T0303 N0030 G00 X0.9688 Z2.1312 N0040 G96 S400 M04 M08 Start Position First Position: this is an X,Z location generated by UG Example Files: Step2a.ptp 2a.txt To Start the Program Be sure to follow the program number with a space!!!!!
7
Computer Aided Manufacturing N1000 G00 X0.4284 Z1.2162 N1005 G00 X2.0 Z1.2162 N1010 M30 O0135 N0010 G70 G53 G56 M53 N0020 G00 G54 X2.0 Z1.2162 T0303 N0025 G96 S400 M04 M08 N1000 G00 X0.4284 Z1.2162 To Break the Program First Position Start Position retracts tool straight out new file number Retract in a G00 address
8
Computer Aided Manufacturing Some Programming Notes Be sure to insert a F10 at the first G01 command after breaking the program. Every new operation in UG inserts a G97 S0 M04. You can remove these from the program.
9
Computer Aided Manufacturing Post Processing Be sure to save the file as: filename.txt DOS rules: 8 numbers or letters or less. Be sure to remember your file number: O1234 At computer, reboot in MS DOS then CD\ to get to C: Mode comm2: 2400
Similar presentations
© 2025 SlidePlayer.com Inc.
All rights reserved.