Sinking and Sourcing PLC Inputs with PNP NPN Sensors