shopsmithjack
Plastic
- Joined
- Jul 19, 2015
Hi,
I'm having trouble with how my CNC mill interprets the G41 offset compensation. When it executes the code it plows a channel at a diagonal that is .99 on the right and .75 on the left. The total travel is only 5.875 on the X axis. Here is the block of code. Any thoughts would be most appreciated.
(1/2 FLAT ENDMILL TOOL - 2 DIA. OFF. - 42 LEN. - 2 DIA. - .5)
T2
M6
G0G90X6.175Y-2.571S750M3
G43H2Z.1M8
G1G41H21Z-.365F25. (I have the end mill radius set on tool 21 in tool offset grid).
X-.3F10.G0Z.1Y-3.304 (It's in this block where it plows a diagonal slot across the work).
G1Z-.365F25.
X6.175F10.
G0Z.1
Y-2.561
G1Z-.375F25.
X-.3F10.
G0Z.1
Y-3.314
G1Z-.375F25.
X6.175F10.
G0Z.1
G40M5
G91G28Z0.M9
M01
I have experimented with adding more moves to the G41 line. At one point the X jumped all the way to the + side and started cutting from the wrong side. Weird.
I'm having trouble with how my CNC mill interprets the G41 offset compensation. When it executes the code it plows a channel at a diagonal that is .99 on the right and .75 on the left. The total travel is only 5.875 on the X axis. Here is the block of code. Any thoughts would be most appreciated.
(1/2 FLAT ENDMILL TOOL - 2 DIA. OFF. - 42 LEN. - 2 DIA. - .5)
T2
M6
G0G90X6.175Y-2.571S750M3
G43H2Z.1M8
G1G41H21Z-.365F25. (I have the end mill radius set on tool 21 in tool offset grid).
X-.3F10.G0Z.1Y-3.304 (It's in this block where it plows a diagonal slot across the work).
G1Z-.365F25.
X6.175F10.
G0Z.1
Y-2.561
G1Z-.375F25.
X-.3F10.
G0Z.1
Y-3.314
G1Z-.375F25.
X6.175F10.
G0Z.1
G40M5
G91G28Z0.M9
M01
I have experimented with adding more moves to the G41 line. At one point the X jumped all the way to the + side and started cutting from the wrong side. Weird.