-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ThreadingSS questions #7
Comments
Hi, Start by using only an Index pulse. Set $40 to 1, $41 to 25. The Index pulse should be between 2 synchronization pulses. It should not coincident with a synchronization pulse. If you monitor the RPM on the CNCL screen, it should be pretty stable and match the actual spindle RPM. $41 is a noise filter. It can reduce/prevent false index and synchronization pulses. It is only available on the Mega. 25 is a good starting value. You can increase this value if your pulse detection isn't stable. If so, double this value and try again. If then, the synchronization is better, you have a problem. You can increase this value until the synchronization is OK and than set it 20% higher. You should also check the actual pitch, it should match the pitch you selected. Let me know the results Regards, Huub |
Thanks Huub! I will test the settings you have so far given and report back, really appreciate your help with this. Regards, |
I have $10 set to 6 to enable reporting of spindle synchronization error. |
Thank you once again!Realized I had some EMF issues, so did a complete rewire with shielded cables inside box when I saw the RPM gauge indicating red and 1000+ RPM.Now I can reliably run with just index, max sync error I saw was +/- 002, not triedcutting yet, but I did try with $40 at 8 and again Z axis moves to start position and stops until cycle ends, X retracts and Z clicks or bumps.I am powering the hall sensors via 5v from the Mega, which is powered via USB. Will wire in a 9v supply for Mega tomorrow and test again.Sent from my iPhoneOn Jan 3, 2023, at 12:52, MetalWorkerTools ***@***.***> wrote:
I have $10 set to 6 to enable reporting of spindle synchronization error.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Working perfectly now!
Loving this, thank you so much for sharing this with the world, and for helping out a stranger! Kind regards, |
Great to hear things are working for you. |
I am using 32 bit GrblHal control boards for my lathe and CNC machines now. Does attaching the Index and Spindle sync sensor inputs to Y limit and Probe pins still apply when using GrblHal? I can use either a typical motor driven C axis, or Closed loop C stepper. |
If you use GrblHal, than you have to use the pinout for that board/GrblHal version. It is unlikely that the GrblHal developer has used the Y-limit and Probe pin for index and synchronisation.
CNCL has 2 threading options (Tasks). One uses Spindle Synchronization and G33 gCodes, the other uses the Y-axis for driving the spindle motor. I do both, the stepper (Threading task) for more accuracy and the spindle synchronization (ThreadingSS task) for faster threading (my spindle motor has a lot more power than my stepper motor). |
If you have a step/dir controlled motor on the C-axis, you can also use the C-axis as indexer. Then things like radial and axial pattern drilling, single point knurling, broaching and engraving are possible. That makes the lathe a versatile tool. I have a Nema24 stepper on the C-axis of my mini lathe and a 600W servo on my bigger lathe. Both are additional to the original motor and are engaged by a lever. Beware that a stepper motor doesn't have much torque on higher (600+) RPM and can't be used for normal turning operations. A low RPM servo (3500 RPM) will deliver the "full" torque from 0 RPM to its max RPM. Not all servo drives are step/dir capable. |
Thank you for the reply (on a closed topic, oops). Looks like I will have to revert to a Mega2560 since Tergeio has buried the pin information for now. Presumably he is not yet ready to promote threading, spindle sync, etc. = no problem. I have 3 different 32 bit control boards running GrblHal and prefer them to the old venerable 8 bit Arduino boards. I have a Red Mach3 board, a MKS Tinybee, and a SKR Pro v1.2. Since I have the Mega boards sitting in a drawer I will reprogram one with Grbl L Mega for simplicity. |
I use a MKS Tinybee on my CNC router and I like it very much. |
I noticed the GrblHal 'Work in Progress' grid for most of the 32 bit boards. I agree they are really nice for the CNC. The movements can be much quicker, especially with closed loops steppers. Programing the Mega card was no problem, and now I have an easy to use Hex file too ;) |
Yes, the Y-axis is used to drive a C-axis. Grbl does not support a C-axis. CNCL does the math to convert rotation to stepper pulses. The resolution of the Grbl Y-axis (steps/mm) has to be set to steps needed to rotate the C-axis 1° (steps/°). In the WiKi you find the information to setup GRBL-L-Mega for threading using spindle synchronisation. For threading using a stepper, all you need is a working stepper on the Y-axis. |
Hi Huub, really enjoying CNCL and now working on getting Spindle Sync working and have a couple of questions that the answers may help others:
Using an Arduino UnoMega 2560 with the lates edge release, and 2 hallsensors identical to yours.
Once again: thanks for producing this!
The text was updated successfully, but these errors were encountered: