- Configuring LinuxCNC
- Advanced Configuration
- Receiving encoder signals but can get any rotation as a spindle
Receiving encoder signals but can get any rotation as a spindle
23 Jun 2024 09:22 #303626
by Dave2024
Replied by Dave2024 on topic Receiving encoder signals but can get any rotation as a spindle
Really? Thats awesome. I will buy more of them too and promote them. These are nice bords!
I want to send you a gift or something about this if I could!
That is easy, just buy more Mesa boards !
PCW is the owner of Mesa.
Please Log in or Create an account to join the conversation.
23 Jun 2024 09:43 #303629
by Dave2024
Replied by Dave2024 on topic Receiving encoder signals but can get any rotation as a spindle
Holy crap I changed the steps/turn down from 10000 to 1k and omg! The motor is dangerous! How do I make it slowly ramp up and slowly slow down? How do I get it to match speeds of M3 S500 = 500rpm and so forth perfectly matching this is incredible. WowThe pncconf bug is just related to LinuxCNC version
but easily fixed by editing the hal file
The speed limit is likely because your 10000 steps/turn scale
would require very short step length and step space settings.
That is, to get to 5000 RPM at 10000 steps per turn, you need
833333 steps per second but your current step length and stepspace
settings (5 usec and 5 usec) only allow 100000 steps per second or
about 600 RPM.
Fixes: Reduce the drives steps/turn and or shorten the steplength
and stepspace parameters (noting the drives minimum timings
for these parameters and leaving adequate margins )
The following user(s) said Thank You: tommylight
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19188
- Thank you received: 6430
23 Jun 2024 11:28 #303640
by tommylight
Since this is a stepgen spindle, probably by setting stepgen acceleration in the ini file lower, in your case for stepgen 4.
Again in the ini file, scaling, if no encoder feedback that would be step_scale, if with encoder feedback there are two values = step_scale and encoder_scale
Welcome to the dark side!
Replied by tommylight on topic Receiving encoder signals but can get any rotation as a spindle
How do I make it slowly ramp up and slowly slow down?
Since this is a stepgen spindle, probably by setting stepgen acceleration in the ini file lower, in your case for stepgen 4.
How do I get it to match speeds of M3 S500 = 500rpm and so forth perfectly matching
Again in the ini file, scaling, if no encoder feedback that would be step_scale, if with encoder feedback there are two values = step_scale and encoder_scale
this is incredible. Wow
Welcome to the dark side!
Please Log in or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- Receiving encoder signals but can get any rotation as a spindle
Time to create page: 0.096 seconds