Mach Discussion > Mach SDK plugin questions and answers.

Anybody interested in Mach3 plugin for Nucleo-F429ZI board as motion controller?

(1/2) > >>

jarekk:
Hi,

Few years ago I have made small ethernet controller for Mach3. At that point there was no interest.
Recently I got some some questions whether I could review it ( after 8 years :-) ) and put for others using one of cheap eval boards.

I have made some archeological digging in my copies and found out that I can still compile the code ( VC 2010 Express + DDK)
I would use this one as platform:
https://www.st.com/en/evaluation-tools/nucleo-f429zi.html
25Euro ( in my place locally), it even has Arduino connectors on top ( so you can  use some shields locally)

My guess is it would run about 150..250kHz

I have placed some refreshed code here:
https://github.com/jarekkt/step2mach

I would release it under beerware-like license ( so you can use it and if you appreciate it you can send my 'Paypal' beer )

Last time it worked it used dsPic processor from Microchip. Not all was yet implemented ( like scannig , axes slaving) , but ordinary operation and jogging worked.

So please let me know if there is real need for it ? ( I do not use Mach anymore, I do not know how alive Mach3 is and what is the demand)




mariusl:
Hi Jarek

Thank you very much for your efforts on this. I for one, and others that I know of in my country, will be very happy to see this kind of development.

I believe that there are many users out there that are very happy with Mach3 and that have machines that run on them. There are also some suppliers that have their own products that make use of the legacy LPT ports. As we know now it has become impossible to purchase a motherboard that can run Windows XP anymore and therefore it has become very difficult to use our own products. It is also very difficult to support the hundreds of customers that have these legacy installations.

There are many USB CNC controllers that can be purchased but using USB on plasma machines has never been successful. This leaves the Ethernet solution as the only way to go.

When building a new machine one can choose from many products but keeping existing users alive will require this work. I will also expand this into a new product by adding some interface hardware but right now I thing having the two simulated LPT ports will go long way.

P.S. I have been a distributor for Mach3 for a long time and I dont see Mach3 going away very quickly.

Maybe you should move this topic to this forum https://www.machsupport.com/forum/index.php?board=28.0

Tweakie.CNC:
I have moved this Topic here at mariusl's suggestion.

Tweakie.

jarekk:
Hi,

My company designs professional CNC controllers ( not for Mach) and at some point we had USB controllers for lasers  - with galvanic isolation. But it was still tricky. Now only ethernet - it is cheap and easy these days.

I have ordered that Nucleo board and port my code. I hope people will join and test it - I promise to fix bugs and expand functionality once it is needed ( like probing and axes slaving).

The board has so many I/O that dual port emulation will not be a problem - as long as there are no more then 4 axis.

Simple shield will be needed - I can help with that if somebody makes the design. There are also ready made designs - e.g. https://www.tindie.com/products/Ron/arduino-grbl-to-db25-cnc-shield-kit/
 


mariusl:
In many configurations especially for routers and plasma (larger machines) there are four axis of which one is slave to either X or Y. On a mill the fourth axis will be rotational.

I will look at the shield design. I would take it we need the two DB25 ports at least. I will look at taking those pins to some screw terminals as well if needed.
Let me know what you need to have on the shield.
It is easy to use very cheap CNC breakout boards for the buffering and relays.
Like these: https://www.amazon.com/SainSmart-Breakout-Board-Stepper-Driver/dp/B0093Y897A

Navigation

[0] Message Index

[#] Next page

Go to full version