How about an NPN sensor? I’ve been struggling with this today. Lots of head-scratching trying to make this work. I’ve set it up per the attached drawing, but I always get the channel to read ON.