Kasey Matejcek wrote: > Still can get it stable the rpm just are all over the place > The only way I can get it operate close is to set the scale gain to 1 and > set s from 1 to 20 rps then it works > When I look at the ppmc.0.encoder.03.velocity signal it counts by 4 witch I > can see why the rpms are all over the place 4*60 =240 8 *60= 480 and so on > So is there anything that can be done to get the ppmc.0.encoder.03.velocity > to not count by 4 > Are you using a real quadrature encoder? If so, have you checked the quality of the signal from it? If you drive the spindle at a constant speed, do you get a steady rate from the velocity, and is it the correct rate?
The ppmc encoder counter does not actually count by 4, but it does count all quadrature transitions, so it will report 4 counts for every full quadrature cycle. Depending on the rate you read it at, it may appear to be counting by large steps, because the servo thread is only reading the total count 1000 times a second at the typical servo period. Jon ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users