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

Start your hands-on training: Siemens PLC Trainers