NPN or PNP depends on your control. Nearly all have either +5 or +24V inputs,
for those you need NPN. I have never seen any control unit who works with ground signals. But it must exist, because so many PNP switches are offered.