Part Number: XTR117
Hi,
I´ve got this circuit mounted and it works well with XTR117.

But I need to change my supply. In the picture power supply is 24V and i have 12V. When I change it, I don´t have the same values on current.
I found this circuit, but it doesn´t work.

What I´m doing wrong in the first picture?
What is wrong on the second?
Thanks on advance,

