add PLC and control