Hi,
The V-in has to be less than V-ref at least by a little (dynamic range of v-in), so
use 5 Volt ref or use 50 ohm dropping R ( gives 1 volt at 20 ma)
Don