Jul 14, 2019, 7:53 PM by [email protected]: > Hi > > > Thank a lot for reply > > Great for UART5 I plan to play with this one soon. > > No I didn’t already bought this contrôler I have wait for some reply before. > At first I check for PWM controler (this one offers reversing direction this > is but the seller suggest me to use rs232. > > It is really ok to not be real-time regarding to constant surface cut speed > and threading ? > I haven't got the time to study the pertinent part of the code-base yet, so take my suggestions with grain of salt, but I assumed that the motion is synchronized on the speed of the spindle, so you need to have RT capable encoder read-out.
> > I have write a instanciable component for ATC maybee i can use the same way > for drive this controler or adapt some vfd existing driver, because I have a > very short experience with python. > I have heard people say that python is "easy", but I personally don't like it myself. (Fact still is that there are tonnes of libraries for your pick.) If you are going to write some other component, you can use C/C++ for everything. But be aware that the VFD components could not be all RT capable, so if you are after RT, always check. Also, mentioned driver wants in basic mode UART on 9600 baudrate with 10 bits per one transferred byte. If you have 1kHz task, you could end missing your constraints only on writes alone. So you will need to look at advanced mode and setting own speed. Cern. > > Br thanks for interest > > > >> Le 14 juil. 2019 à 15:09, <[email protected]> <[email protected]> a écrit : >> >> Jul 13, 2019, 1:46 PM by [email protected]: >> >>> Hi >>> >>> I use machinekit for a CNC lathe with Beaglebone Black and Furaday cape, >>> debian 9 up to date, Axis GUI, icewm as DM. >>> >>> I need to replace my spindle controller board, this is a 180V DC shunt >>> motor 1Hp run ~200 to ~3500rpm. >>> >>> I have found this one over ebay : > >>> https://www.ebay.fr/itm/180V-200V-DC-230V-AC-16A-HP-motor-speed-controller-reversible-RS232-CNC-control/183788127346?hash=item2acaa04472:g:hq0AAOSwAE1cz7vg >>> >>> <https://www.ebay.fr/itm/180V-200V-DC-230V-AC-16A-HP-motor-speed-controller-reversible-RS232-CNC-control/183788127346?hash=item2acaa04472:g:hq0AAOSwAE1cz7vg> >>> >>> For now i have only the attached document. >>> >>> >>> I think this controller is ok for my motor, but for manage the RS232 >>> protocol whith machinekit i'm unsure. >>> >>> https://github.com/machinekit/machinekit/blob/master/src/hal/user_comps >>> <https://github.com/machinekit/machinekit/blob/master/src/hal/user_comps> >>> I suspect this need to use one of this VFD driver and adapt the protocol >>> for the ebay controller ? >>> >> Hi, >> yes, you will need to write simple HAL module. Good thing is it needs not to >> be real-time, all you need is to send some command every 3 seconds, so >> simple python script with use of few ready-made libraries will be enough. >> >> Did you bought already or it is just theoretical question? >> >>> >>> It is ok for use this with USB/RS232 or is better to use some onboard UART >>> from Beaglebone ? >>> >> Could be, looks like the pins for UART5 are not used by the cape, but >> somebody more knowledgeable will have to tell. >> >> Cern. >> >>> >>> >>> Best regards, Aurélien >>> >>> >>> >>> -- >>> website: > http://www.machinekit.io <http://www.machinekit.io>> blog: > >>> http://blog.machinekit.io <http://blog.machinekit.io>> github: > >>> https://github.com/machinekit <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] >>> <mailto:[email protected]>> . >>> Visit this group at > https://groups.google.com/group/machinekit >>> <https://groups.google.com/group/machinekit>> . >>> To view this discussion on the web visit > >>> https://groups.google.com/d/msgid/machinekit/53c22a1f-0a11-48e2-9a0f-d461525381d5%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/machinekit/53c22a1f-0a11-48e2-9a0f-d461525381d5%40googlegroups.com?utm_medium=email&utm_source=footer>> >>> . >>> For more options, visit > https://groups.google.com/d/optout >>> <https://groups.google.com/d/optout>> . >>> > > -- > 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/A108EC8D-45FE-4D5D-B3DE-D50D0BED8006%40gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- 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/LjqMZxF--3-1%40tuta.io. For more options, visit https://groups.google.com/d/optout.
