Replies: 1 comment 1 reply
-
Add Setting_VFD_20 with two flags, one for how to handle signed value and one for how stop with deceleration should then be handled? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I have successfully connected T3D spindle, using modvfd plugin, but bumped with two issues:
get rpm command of this spindle returns signed 16 bit value, which is negative for cw and positive for ccw. My idea is to change f2rpm function argument to int16_t (from uint16_t) and add fabs in return. Is it good idea for pull request? This should not break other spindles with unsigned values, until 32767 rpm (I know that on milling machine spindles this is not a limit). Or the right way is to make new settings parameter?
stop command for T3D spindle - stops it without deceleration, so the right sequence in my case would be set zero speed, sync speed and then issue stop command. I thought, that this logic can be implemented in common part, like spindle_sync, or somewhere else. Or may be you can suggest another proper way to fix this.
I can write my own spindle driver, but I'm trying to avoid that.
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions