Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: CapNC on July 29, 2013, 07:20:00 PM
-
Hello,
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.
Thanks,
-
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
Alex
-
Just found this device provides 3 PWM outputs
www.hytechworks.com/Products/HyCnc/HyCNC_6L/index_e.html
Alex
-
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.
-
Hi,
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
www.mikroe.com/add-on-boards/measurement/r2r-dac/
Alex