It's not that rs232 is bad for controlling a motor, I'm sure it's fine. 
It's just that since nothing readily exists as a hal component and the 
documentation on that driver is likely poor you'd best use a simpler means.

That's a coincidence your machine already has the same KB drive I 
suggested. Unfortunately I forgot about the archaic requirement of Bipolar 
analog +/-0-10v for controlling speed in both directions (I really hate 
brushed DC motors for things like this). I can't seem to find any PWM to 
bipolar analog controllers but that's all you would really need to make the 
drive work reversing, just using schematic F on page 22 of the manual. 
There's plenty of DIY schematics all over the internet for this but I can't 
find anything you can just buy.

You can try using the relay to reverse the motor, not sure you the KB drive 
will like that. On a Shunt wound motor you reverse the field wires to 
reverse direction. Maybe it's best you look for a drive that accepts PWM or 
0-10v analog and will switch direction with a logic input. Honestly I'd 
ditch the DC setup and grab an AC motor and VFD but I'd assume that's not 
an option.



On Monday, July 15, 2019 at 5:14:25 PM UTC-4, Aurelien wrote:
>
> Hi
>
> I'm not really want "to go through the trouble of trying to make something 
> work over rs232" lol
>
> I have already a KBMG-212D + 24 V PWM à 0-10 V (K24P-10V), my motor shunt 
> have burned so i like to replace the controler before installing the 
> repaired motor.
> https://fr.aliexpress.com/item/32811614945.html
>
> The starting point for wanting to replace this controler is for have a 
> reversible rotation because primarly i don't have any free wire for add a 
> high power relay directly to the spindle wire for control the motor FW/REV
> I don't found any way for generate a negative PWM signal like the 
> datasheet wiring make me think : something is possible with -/+PWM
> But now the things are a little different because i have remanaged the 
> wire and now i can try to control one relay for reversing direction.
>
> So if you think is better to keep my actual driver this is off course 
> better for me ^^
>
> MK Beaglebone furaday-cape spindle-encoder for cnc-lathe
>
> Many many thanks for "Rs232 is too iffy for closed loop"
>
>
> If you have better idea than put a reversible relay to the spindle brush 
> wire you are welcome 
>
> Br
>
>
>
>
>
>

-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/machinekit/c498fba4-c0fa-4b7d-999c-d42c43993de8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to