don't find simple code for Bourns EMS22D

Hey still no sucess I had problems loging in back to this forum but nevermind,

I think better to start first with the connections, anyone know for sure how the legs should be conected?

this is the data sheat, what are all the 5 conections expet of ground?

thanks in advance.