Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: NorCalZ71 on February 21, 2013, 06:03:48 PM

Title: Modbus spindle control?
Post by: NorCalZ71 on February 21, 2013, 06:03:48 PM
Hi everyone
I'm a newb to the modbus stuff. I get the basics kinda...
I need to get a pwm signal output to my spindle controller via modbus. I ran out of outputs on my driver. (4ax TB6560)
I am using an arduino mega as a modbus device and have configured it to the basics. I don't however understand how to set the cfg for pwm output. And I'm still confused on the brains thing.
My spindle controller needs an analog 0-10v so I am converting the pwm with a circuit from a thread here but he used mach and smooth stepper to output the pwm. I however don't have any extra outputs for this.
Any help would be great!
Thanks.

Kevin.
Nsr customs.
Title: Re: Modbus spindle control?
Post by: Chaoticone on February 21, 2013, 07:54:54 PM
Does this help?

http://www.machsupport.com/forum/index.php?topic=23759.new;topicseen#new

Brett
Title: Re: Modbus spindle control?
Post by: NorCalZ71 on February 21, 2013, 08:01:13 PM
Thanks for the link ill dig deeper nut I'm still not sure how to send pwm out for spindle speed..

Kevin.
Nsr customs.