Hello Guest it is March 01, 2021, 06:05:41 AM

Author Topic: Multiple PWM signals  (Read 2229 times)

0 Members and 1 Guest are viewing this topic.

Multiple PWM signals
« on: July 29, 2013, 07:20:00 PM »

I am wanting to connect 3 electronic pressure regulators to Mach3.  The pressure regulators are regulated by a 0-10v analog signal and I need to regulate each one to different pressures.  I was thinking about using 3 PWM to analog circuit boards but I'm thinking mach only supports one PWM putput signal.  Maybe I'm wrong,   Anyways maybe someone has a better idea of how I could control these regulators using Mach3. 

Re: Multiple PWM signals
« Reply #1 on: July 29, 2013, 09:51:54 PM »
Hi CapNC,

Mach3 only provides one PWM output.
If you have a couple of outputs left you can use a D/A converter for this if a resolution of  3 or 4  (maybe 5) bit is enough.
3 bit =   8 different values
4 bit = 16 different values
5 bit = 32different values
and so on

If you doent have enough outputs, you can use something like the Pokeys device ( or something similar ) to get enough.

just a thought

Re: Multiple PWM signals
« Reply #2 on: July 30, 2013, 08:00:10 AM »
Just found this device provides 3 PWM outputs


Re: Multiple PWM signals
« Reply #3 on: July 30, 2013, 07:33:16 PM »
Hello Alex,

Thanks for the info.  The HyCNC seems to be similar to the kflop although I'm sure it lacks a lot of the functionality of the kflop.  I've used the kflop motion controller before but found it a bit tedious to keep it synchronized with Mach3.  I'm thinking of doing what you said using a D/A converter, but maybe sending out serially 8 bits to the D/A register.  I would have to write a routine to pump out the 8 bits with the right timing.  If that's possible, I would only need something like the DAC5574 from Texas Instruments and some other stuff to interface it with the parallel port.  Again, thanks for your help.    
Re: Multiple PWM signals
« Reply #4 on: July 30, 2013, 10:28:06 PM »
what i thought about was a simple homemade R2R board ( I did that to control my high presure coolant pump via VFD using 4bit resolution )

or something like that