tahoe brian Posted September 10, 2012 Share Posted September 10, 2012 Other than writing a PLC to calculate it, is there a signal within PMAC that is (or approximates) the RMS or some other time averaged value of a motor following error? Link to comment Share on other sites More sharing options...
curtwilson Posted September 11, 2012 Share Posted September 11, 2012 No, there is not an automatic function to do this. It would be very hard to devise a generalized scheme for this (e.g. when does it start, stop, and clear the calculations). As an analogy, I find the "average gas mileage" reading on my car to be useless, because I have no idea over what time span it operates. Also, very few people request this functionality, so even the overhead to decide whether or not to calculate this on an every-servo-cycle basis would not be worth it. Link to comment Share on other sites More sharing options...
tahoe brian Posted September 11, 2012 Author Share Posted September 11, 2012 I agree with your comments, and would not have purposely created such a signal either, but thought that maybe there is an approximate signal that was created for some other purpose that I was not aware of. It turns out that what I really need is a band pass filter on the following error signal whose center frequency is variable, and I only need to have this signal occassionally, so I will just write a PLC that implements a digital IIR filter. Thank you for taking the time to respond. Link to comment Share on other sites More sharing options...
Recommended Posts