PLC control wafer roll machine