The Siemens S7-1200 inputs can be sinking or sourcing and the outputs will either be sourcing or relays.