Output latch programming in TIA Portal for Siemens S7-1200 PLC