|
Stop a cam at top dead center TDC
Well bag and tag is over. We have a cam on the output of a Toughbox mini with a mini cim powering the box. We have an encoder sensing the rotation. We where unable to create, test, and troubleshoot code to have the cam retun to TDC after the button is released. We are using the command bassed template. The cam may spin any number of rotations in either direction. When we are done we want to return to the top either continueing in the same direction or reverse. What might be a good way to do this? Should we check the current count by modulus 360 and continue to the next 360 increment. Any input. Its going to be tough to test now without a rio
|