How can I clamp the axis input from 'dragging' out of range?

By using clamp? Just put the value in and then clamp between 0 and armLength.

You have to clamp the variable that you are adding the axis value to.