Originally Posted by
angelw
Hello Nigel,
Your code as is would apply the Tool Radius Comp over the long X travel and would probably result in a taper on the Y2139.5 side.
There are a couple of questions you need to answer to get the most accurate answer:
1. What Control is on the machine?
2. Does the control use separate Tool Length and Tool Radius Comp addresses? That is, does it use a H address for Tool Length and a D address for Tool Radius Comp.
The following code example assumes that separate Tool Length and Tool Radius Comp Offset addresses are used.
T105
M13S16000
G08P1
G90
G00 X-50.0 Y2135.5 (RAPID TO XY START COORDINATE)
G43 Z50.0 H5.
Z10.0
G01 Z-7.0 F2000
G41 Y2139.5 D5 F20000 (APPLY TOOL RAD COMP PERPENDICULAR TO NEXT AXIS MOVE)
X1000.0
Y2130.75
X-50.0
G40 Y2134.75 (CANCEL TOOL RAD COMP PERPENDICULAR TO LAST AXIS MOVE)
G00 Z50.0
The above program uses Partial Tool Radius Comp, as your original program compensated for the 5.15 Radius in the code. Accordingly, the radius value registered in the Tool Radius Comp Offset will be the difference between the Radius compensated for in code (5.15) and the radius of the tool actually being used (7.0mm in your example). Therefore, the value registered will be 1.85. Your Y Start location then needs to be equal to, or greater than the value registered in the Tool Radius Comp Offset, away from the first Y target value in your program. The width of the slot in code (ignoring the cutter radius) is 8.75. Accordingly, I've used a stand off from the Y2139.5 feature of 4.0mm; hence the Y2135.5 "Y" Start Coordinate.
Regards,
Bill