Types of PLC and controller