Saturday, January 16, 2010

Visual Basic 6.0 Servo Speed Control Question!?

Has anyone out there been able to control speed of a servo with Visual Basic 6.0. My program consists of three position servo controls (have working) and video OCX video control (have working). But with a servo speed control, the synbyte is not working with my Vertical scroll(using two timers--one on each axis). I did some thinking and became aware synbyte of 255 is only for position of the servo--not speed. Does anyone have code for servo speed control (servos have been converted to speed control)? Or is able to use experience?





Thanks,


Jim AVisual Basic 6.0 Servo Speed Control Question!?
Without having programmed in Visual basic, I have some common sense advise.





1) Either you control speed, or position.





2) Check the scaling of the transducers at the program level..Make sure you have enough resolution. The input module should have a resolution 5 to 10 times higher than the transducer itself. Most of the problems stem from interface mismatching





3) You will need a closed-loop PID control program module for either or both speed and position, which will need tuning.





.

No comments:

Post a Comment