Page 299 - CNC Robotics
P. 299
Chapter 12 / Examples
N014 G01 X013.413 YOOO.233
N015 G01 X013.517 YOOO.240
N016 G01 X013.621 YOOO.243
NOH G01 X013.673 YOOO.242
N018 G01 X013.724 YOOO.238
N019 G01 X013.918 YOOO.215
N020 G01 X014.005 YOOO.202
N021 G01 X014.063 YOOO.194
N022 G01 X014.441 YOOO.125
N023 G01 X014.727 YOOO.125
N024 G01 X014.964 YOOO.222
N025 G01 X015.191 YOOO.222
N026 GOO ZO.5
N027 GOO XOOO.OOO YOOO.OOO
N028 M05
N029 M30
No tic e how the profile is plotted in the plot w indow of Kearn.
You w ill wa nlto change all the y-coordinates to z-coordlnates and
this is accomplished using the search and replace fun cti on of the
G- code editor. After repla cing every y w ith a z, the G-code looks
like thi s:
NOOO [KCam Conversion]
N001 [Original File: lathecoreI3.plt]
N002 %
N003 G90
N004 M03
N005 GOO ZO.5
N006 GOO XOOO.OOO ZOOO.OOO
N00 7 G01 XOOO.220 ZOOO.25 4
N008 GOO Z-o.25
N009 G01 X002.283 ZOOO.254
N010 G01 X006.184 ZOOO.086
N011 G01 X009.745 ZOOO.086
N012 G01 X012.261 ZOOO.191
N013 G01 X013.310 ZOOO.228
N014 G01 X013.413 ZOOO.233
289