SMC PSE530-M5

Can you post your code and a link to the datasheet for the sensor?