Moderators: TomKerekes, dynomotion
-
tmday7
- Posts: 51
- Joined: Fri May 11, 2018 10:17 pm
Post
by tmday7 » Fri May 24, 2019 11:28 pm
Hello,
I am trying to do run a simple spot drill G83 program on my lathe. For some reason iam getting a pop up window when trying to run gcode that states"Y value unspecified in xz plane canned cycle". I have ran this same program a few times a couple days ago with no problems but now it gives me pop up and halts program. The gcode i ran before this was a finish pass od profile.
Any ideas what is wrong?
Code: Select all
(.5 SPOT DRILL)
(Material D-2)
G18
G20
G54
G90
G94
G0Z1.
T3
G97M03S400
M8
G0X0
G43H3G00Z1.
G83Z-.05R.1F1.Q.035
G80
M9
M05
G0Z1.
G53G0X0
M30
Troy
-
TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Post
by TomKerekes » Sat May 25, 2019 3:47 am
Hi Troy,
The Drill Cycle assumes you are going to drill in the axis perpendicular to the specified plane. So for example a standard milling machine would use G17 to specify the horizontal xy plane and then drill in the z direction. If you specify G18 to specify the xz plane then the interpreter will drill in the y direction so the interpreter flags an error if y is not specified.
Try specifying G17 xy plane if you want to drill in z.
I'm not sure how this could have worked before.
HTH
Regards,
Tom Kerekes
Dynomotion, Inc.