Hi All,
I recently bought a Sharp 2412 VMC with a Fanuc Oi controller. I am totally new to writing G-code. My knee mill has a 3-axis Proto Trac M3 with canned cycles so that is what I am accustomed to.
I’ve written my first program and was really hoping that someone might be willing to look over it for me.
This is an aluminum disk, 8” od and .75” thick. It has a tapped center hole that is a 3/8-16 along with a .175” deep counter bore. Along the X axis are two holes at +3.5” and -3.5” that are 5/16-18. Then there is a 5/8” wide slot that is .45” deep along the Y axis.
You’ll see that I jump in tool numbers from T3 to T5. I deleted the block (?) that had tool #4.
Any criticism would be very helpful Thanks so much in advance.
PS: I sure hope a posting like this is OK. If not, please accept my apologies.
Larry
%
O0100(ADAPT PLATE)
T1M6(#4 CENTER DRILL)
G0G90G54X3.5Y0S4000M3
M8
G43H1Z.1
G81G98Z-.3R.1F20.
X-3.5
G80
G0Z.1M5
G81G98Z-.3R.1F20.
X0
G80
GOZ.1 M5
M9
G28G91Z0
M1
T2M6(#F DRILL)
G0G90G54X3.5Y0S3800M3
M8
G43H2Z.1
G83G98Z-1.1Q.08R.1F25.
X-3.5
G80
G0Z.1M5
M9
G28G91Z0
M1
T3M6(5/16-18 CUT TAP)
G0G90G54X3.5Y0
M8
G43H3Z1.
M29S350
G84G95Z-1.R1.F.0555
X-3.5
G80Z1.5M5
M9
G28G91Z0
M1
T5M6(.625 EM)
M8
G0G90G54X0Y2.99S5000M3
G43H5Z.1
G1Z-.1 F20.
Y1.89
G1Z-.2
Y2.99
G1Z-.3
Y1.89
G1Z-.4
Y2.99
G1Z-.45
Y1.89
G1Z.1F50.
M9
G28G91Z0
T6M6(5/16" DRILL)
G0G90G54X05Y0S3800M3
M8
G43H6Z.1
G83G98Z-1.25Q.09R.1F25.
X0
G80
G0Z.1M5
M9
G28G91Z0
M1
T7M6(3/8-16 TAP)
G0G90G54X0Y0
M8
G43H7Z1.
M29S350
G84G95Z-1.R1.F.0625
X0
G80Z1.5M5
M9
G28G91Z0
M1
T8M6(1/2" end mill)
G0G90G54X05Y0S2500M3
M8
G43H8Z.1
G81G98Z-.175R.1F10.
X0
G80
G0Z.1M5
M9
G28G91Z0
M1
M30
%
In the above (T8M6 sequence) G43 line, Z is 0.1". Then in the G81 line R is 0.1" I am trying to figure out the difference between the Z and the R. I think R is rapid (distance from the top of the part) If so, then what is the Z for? Thanks