- Posts: 19311
- Thank you received: 4655
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
HAL multiplies but does not divide so you need to mult2 by 1.66667zajc3w wrote: Thanks.
Mux4 seems more legant way to doing it, just have to figure out syntax.
I'm beginning to think that modyfiing hy_ modbus driver might be asier than trying to understand how hal ticks...
Conversion of rpm to Hz is another one.
All need is to divide rpm by 6 and convert to integer. Can I just slap division by 6 in hal?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Todd Zuercher wrote: The spindle command speed is available in both RPM and RPS (Hz) in hal. So dividing by 60 should not be nessisary.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.