I have an a-b-index encoder directly mounted to the spindle. The spindelspeed is pid-controlled by uccnc, which works well.
questions:
1. How do we setup the tools? On my lathe at work (Mazak) it's diameter, length, tool-radius etc. In uccnc I can imagine, what x and z are for, but where do i put the tool-radius? And what about threading and grooving tools?
2. threadind doesnt work. The machine stops right at the threading line. No error, and no stop. Spindle keeps running, but nothing else happens. I tried G33 like this:
- Code: Select all
N320 G0 Z-23.975
N321 X11.665
N322 G33 Z-43.493 K1.5
N323 X12. Z-43.829 K2.121
and also G76 like this:
- Code: Select all
N110 G76 P1.5 Z-43.854 I-18. J0.3 K1.5 Q0. H1. E0.75 L0
3. tool-radius-compensation gives me an error:
- Code: Select all
N2250 G0 X42. Z5.
N2260 G96 D4000 S200 M3
N2270 G1 Z-0.549 F1.
N2280 X11.497
N2290 X9.282
N2310 G42 X6.014 Z-1.463
N2320 G2 X0.007 Z-1. I-3.007 K-9.537
N2340 G1 G40 X2.435 Z0.414
leads to the error
Error: Arc, out of G17 when in R compensation, line:xxx
any help is appreciated