Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: matttargett4 on August 31, 2015, 04:26:32 PM

Title: Reading a pwm signal into Mach 3
Post by: matttargett4 on August 31, 2015, 04:26:32 PM
Hi,

I have an application where a want to control 4 servo motors using Mach and make their speed relative to another control system which puts out a Pwm signal, is it possible to read this into Mach? I think I can handle a script to make it adjust feedrate if I can get it into a variable.

Any ideas?.

Thanks

Matt
Title: Re: Reading a pwm signal into Mach 3
Post by: beefy on September 01, 2015, 05:50:03 PM
I would guess it can be done in a brain or macropump. A brain for instance runs 10 times a second. Will that rate of speed update be fast enough ?

Only problem is I don't know if Mach can read a PWM, though I think it can read a spindle index pulse input. Check the Mach manual for that one.

Keith.