12v input signal OK?

Hello,

Is it ok to wire the input from a 12v sensor to the VMA05 inputs? It is an NPN 3 wire prox. Signal wire sinks 12v when it senses metal.

Thanks
bob