Hello Guest it is December 08, 2019, 09:46:29 PM

Author Topic: Step2Mach - My DIY ethernet controller for Mach  (Read 18396 times)

0 Members and 1 Guest are viewing this topic.

Step2Mach - My DIY ethernet controller for Mach
« on: October 08, 2011, 04:37:43 PM »
Hi,

Some time ago I have started topic about sharing knowledge about motion controllers : http://www.machsupport.com/forum/index.php/topic,17612.0.html
Few monts passed, nobody joined. Since then I have converted virtual idea to real motion  controller.




I spent quite some time on it, copied code from my other projects and got it working. Originally I wanted to share only hardware design and sell licenses for plugin, but after long discussion with Scott “Poppa Bear” I decided to go different way.
I decided to share most of the code ( while keeping all my copyrights) under special license:
-  If you use my device and you are happy with it - please pay 35$  ( in EU 35$ + VAT) to my paypal account. You will find link in the code and in the configuration web page for the device
-  If you want development license ( to reuse my code for your professional product) - it is also possible, see license code for details. In such case you will get full source code plus free consultancy to get most from it.
-  If you just want to examine the code - feel free to do it.  The Mach SDK is poorly documented and the examples are messy, so it may help you with your Mach development.

About the device itself:
- 4 axis support
- 100 kHz step/dir frequency
- LPT DB25 connector (as it emulates PC parallel port)
- Easy to assemble hardware design ( main components are DIP, all passives are SMD – 1206
or bigger, possible to make on single layer PCB)
The ethernet connection provides following features:
- Web interface for configuration
- DHCP client/server support
- NetBIOS support ( for accessing device by its name)
Known limitations:
- No slaving support ( not yet implemented)
- No threading support for lathes ( not yet implemented)
- No spindle support ( not yet implemented)

It still requires a lot of testing ( I am preparing few units for my friends for serious testing in real production environment). I have successfully run it on my simple gcode, homeing, jogging but  I am sure there will be issues on some specific configurations. Especially that motion plugins are left alone for jogging and homeing ( so I had to implement it myself) and I am not sure that it is 100% compatible with e.g. LPT operation.  Please let me know if you find something - I will fix it.

I will always post latest code and documention in finished plugins section: http://www.machsupport.com/forum/index.php/topic,19698.0.html

« Last Edit: October 08, 2011, 04:39:41 PM by jarekk »

Offline Tweakie.CNC

*
  • *
  •  8,016 8,016
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #1 on: November 21, 2011, 04:17:03 AM »
Excellent work Jarekk.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #2 on: November 21, 2011, 04:32:36 AM »
Well, I decided to release it like that. But still - there was not much interest, so the project ended up in a drawer collecting dust :-(

But I hope it helped others to understand motion control plugins.
« Last Edit: November 21, 2011, 04:35:39 AM by jarekk »

Offline rcaffin

*
  •  1,007 1,007
    • View Profile
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #3 on: November 24, 2011, 05:44:19 PM »
Is the connection transformer coupled? tell us more about the actual connection, especially about the electrical isolation if any.

One parallel port or several? These days just one port is rarely enough.

Tell us a bit more about the DLL mach plug-in which converts the Mach output to the ethernet data stream, please!

Cheers
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #4 on: November 25, 2011, 02:20:27 AM »
Ethernet connection is *always* trafo coupled. I use jack with embedded trafo. Current version of plugin supports just one "converter" - if you need more then you can either connect two ( needs software modification, also only one would provide step/dirs ) or use bigger chip ( with more io,also needs software changes)

About the plugin - see the link in the beggining, there is a link to source code so you can check for yourself.




Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #5 on: February 15, 2019, 06:59:39 AM »
I know this is a very old thread but just in case. Is this work still available?
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #6 on: February 15, 2019, 07:14:16 AM »
Yes.

Prehistoric stuff - you might be better trying something for Mach4

But enjoy anyway :-)

https://drive.google.com/open?id=1ZqSI52jAGoCD4DwKGSQSbm6b0nRos22t

Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #7 on: February 19, 2019, 10:11:40 AM »
Thanks. Any information is helpful at this time.

I am trying get going on VS2017 but having no luck.
Re: Step2Mach - My DIY ethernet controller for Mach
« Reply #8 on: April 06, 2019, 09:51:53 AM »
As I was asked for the stuff again - see here https://www.machsupport.com/forum/index.php?topic=39819.0