Hi all
I know I am probably just being really stupid, but I am new to conversational programming and getting slots with radiused ends seems to be defeating me today having tried to use the inbuilt slot cycle and programming the outer edges with RL- tool compensation, so please can someone point me in the right direction.
Lets say I want a slot 100mm long overall and 20mm wide orientated with the long side parallel to the X-axis, with the end of it touching the Y-axis.
If we look at the slot cycle first, the manual states "the starting point of the slot must be approach with tool radius compensation R+ or R- in the longitudinal direction i.e. with a single axis block the contour offset RR or RL is not permitted for position approach and that the first side length is the overall length including the rounded ends and the second side length is the width of the slot, then should the program look like this?
Tool DEF 100 Z0 R5
Tool Call 100 Z S1000
CYCL DEF 3.0 Slot milling
CYCL DEF 3.1 -0.5
CYCL DEF 3.2 -10
CYCL DEF 3.3 -1.0 F10
CYCL DEF 3.4 X100
CYCL DEF 3.5 Y20
CYCL DEF 3.6 F100
Z50 R0 F500 M
L X5 Y0 R0 F500 M
Z0.5 R0 F500 M3
Cycle Call
Z50 F500 M2
STOP
When I did that earlier the slot ended up being too long and I could only get it to right length by reducing the First side length by the radius of the cutter, which means I am doing something wrong but I can't figure out what.
Whilst if I try to program it via interpolation to my mind it should look something like:
Tool DEF 100 Z0 R5
Tool Call 100 Z S1000
Z50 R0 F500 M
L X10 Y0 R0 F500 M
Z0.5 R0 F500 M3
Z-10 F10 R0 M
IY10 F10 RL- M
IX80 F10 R0 M
CC X90 Y0
C IX0 IY-20 DR- RL- F10 M
X-80 F10 R0 M
CC X10 Y0
C IX0 IY20 DR- RL- F10 M
Z50 F500 M2
STOP
The problem is when I do that I get an offset starting error. I tried it with the IX80 moves with RL enabled and it still gave me an offset error. What am I doing wrong please, its driving me nuts as I understand the basics conversational and could get quite used to it, if only I could figure out these simple problems.
Thanks
Andrew