I used to use proximity sensors on 24V straight into the pin on the cheapo BOBs There is a 10K R inside a lot of them so it should only put about 2.4mA into the BOB you can check this by putting your meter on mA range and connecting between the black wire sensor and ground. and see what current it draws. (at your own risk of course)