PLC software for automation