Programmable logic controller using open control platform