Software for programming a plc