Mach3 + Modbus Experiments

Discussion Related to Blog Posts (suggestions welcome)

Mach3 + Modbus Experiments

Postby bdring » Tue Feb 01, 2011 1:29 pm

Here is a write up on a one evening experiment to use Modbus to help control laser power using an Arduino. I think it shows promise. An Arduino is less than $20 and requires no extra parts to do this job.

http://www.buildlog.net/blog/2011/02/mo ... ins-oh-my/
Bart
"If you didn't build it, you will never own it."
bdring
Site Admin
 
Posts: 2966
Joined: Sun Nov 22, 2009 7:33 pm
Location: Chicago, IL, USA

Re: Mach3 + Modbus Experiments

Postby lasersafe1 » Tue Feb 01, 2011 5:43 pm

Looks very interesting. I remember spending hours experimenting with Mach3 and trying to get the darn laser to turn on and off without pausing the move as it does when you make a Z move. Clearly the modbus could handle the laser fire bit. I'm doubting that it can be used to slope the power with speed since the power settings on these Chinese supplies are not very linear.
lasersafe1
 
Posts: 599
Joined: Fri Nov 27, 2009 8:23 pm

Re: Mach3 + Modbus Experiments

Postby gavztheouch » Tue Feb 01, 2011 7:15 pm

Looks promising,

"I'm doubting that it can be used to slope the power with speed since the power settings on these Chinese supplies are not very linear."

Could we write an algorithm to compensate?
Timothy hay for rabbits delivered over the UK http://www.timothyhay.co.uk
gavztheouch
 
Posts: 144
Joined: Sun Dec 12, 2010 11:08 am
Location: (Stirling) UK

Re: Mach3 + Modbus Experiments

Postby bdring » Tue Feb 01, 2011 7:46 pm

Acceleration compensation: It would only come into play on axes with really slow acceleration rates like a mill conversion or a heavy gantry machine. The "Brain" update interval is at best about 25Hz. If you have a light machine, like most of ours, the acceleration is at least 100 in/sec/sec. If you have even a really high cut speed of say 10 in/sec, by the time the laser reaches full speed the number of changes is going to be 2-3.

I was just throwing out ideas to start discussions.
Bart
"If you didn't build it, you will never own it."
bdring
Site Admin
 
Posts: 2966
Joined: Sun Nov 22, 2009 7:33 pm
Location: Chicago, IL, USA

Re: Mach3 + Modbus Experiments

Postby gavztheouch » Tue Feb 01, 2011 9:44 pm

Bart are you using the Uno/Duemilanove board, ie the cheapy one. I have been wanting to buy one for some time, now It looks like it might have a practical use for this project I might make a purchase. Is it right that the standard £20 board is programable using only a usb cable, so you don't need a devolopment board or other hardware to download your program to the chip? Seems like a bargin at 20 quid.
Timothy hay for rabbits delivered over the UK http://www.timothyhay.co.uk
gavztheouch
 
Posts: 144
Joined: Sun Dec 12, 2010 11:08 am
Location: (Stirling) UK

Re: Mach3 + Modbus Experiments

Postby lasersafe1 » Tue Feb 01, 2011 10:42 pm

In case anybody here in the states is interested, I have a Duemilanove and the 3.2" touchshield slide that I would let go for about $80.

http://www.liquidware.com/shop/show/TSL ... ield+Slide
lasersafe1
 
Posts: 599
Joined: Fri Nov 27, 2009 8:23 pm

Re: Mach3 + Modbus Experiments

Postby bdring » Tue Feb 01, 2011 11:59 pm

The boards with USB are direct programmable and then the USB can be used as a serial connection the PC. So the Modbus worked right over the USB.
Bart
"If you didn't build it, you will never own it."
bdring
Site Admin
 
Posts: 2966
Joined: Sun Nov 22, 2009 7:33 pm
Location: Chicago, IL, USA


Return to Blog Posts

Who is online

Users browsing this forum: No registered users and 16 guests

cron