Arduino Mega and sensor voltage

Here is the instruction pamphlet that came with the sensor.

I got the colors mixed up, but here they are

Blue is 12vdc in
White is Common or ground
Black is the NO circuit that I will be using.