Hi

I broke the proximity switch of my old PRT alpha.
Find this one on local store.

TL-Q5MC1 DC 10-36V 50mA NPN Inductive Proximity Switch Sensor 5mm Detection Normally Open NO 12V 24V

My question is whether it will work.

Thanks in advance.