I've only had a quick look, but the following things stand out-
- Shouldn't the push button lamp be connected to an output? (You'd ideally want some code so the button only illuminates when it's active)
- You have S1 and S2 twice (going by the fact they have 24V and 0V connections, I'm guessing these are inductive sensors, so you'll need to check how the output switches, but each will only need a single input)
- Is the temperature sensor a switch, or a thermistor? (I've not searched for a manual, but going by it having two wires, and there being a separate thermal switch on the power connector, I'm guessing it's a thermistor, in which case you'd need an analogue input to make use of it in the software)