Pc serves as plc, programming panel, monitoring panel