- Posts: 19311
- Thank you received: 4655
ESC Brushless MESA PWM 6i25+7i76
9 years 7 months ago #89244
by andypugh
Replied by andypugh on topic ESC Brushless MESA PWM 6i25+7i76
You can probably run your ESC using a stepgen. You need to set it to velocity mode to get a fixed-frequency output to suit the ESC then alter the step-length to give the required pulse length.
However: The pulse-length is a HAL _parameter_ not a pin, so can't be directly connected in HAL. You would need to use (as an example) a custom M-code that issues a "halcmd setp hm2_7i92.0.stepgen.04.step-length NNN" command.
However: The pulse-length is a HAL _parameter_ not a pin, so can't be directly connected in HAL. You would need to use (as an example) a custom M-code that issues a "halcmd setp hm2_7i92.0.stepgen.04.step-length NNN" command.
The following user(s) said Thank You: HalaszAttila
Please Log in or Create an account to join the conversation.
- HalaszAttila
- Offline
- Premium Member
-
Less
More
- Posts: 149
- Thank you received: 5
9 years 7 months ago #89278
by HalaszAttila
Replied by HalaszAttila on topic ESC Brushless MESA PWM 6i25+7i76
Thanks, I solved with this way. I use fix PWM duty cycle, because this is a braking mechanism for turret on lathe.
Please Log in or Create an account to join the conversation.
Time to create page: 0.077 seconds