Motor rotation limit

How to speed control on a motor. (we need something that tells our motor to stop spinning when it reaches a certain speed and starts binding.)

Use a DIO open block to create the reference and assign a refnum (same procedure as motors). Then use a DIO get block in teleop or whatever to read the value of the limit switch.


There’s an example on:

Search for "Limit Switch "

That example was VERY helpful!!!:smiley: