本论文阐述了利用松下电工生产的一种小型PLC—FP0结合气动、传感器和位置控制等 技术,并运用梯形图编程,实现对铁块、铝块及蓝色、黄色两种塑料块共四种材料的自动分拣。该系统的通用性极强,可靠性好,程序开发简单,可适应进行材料分拣生产线的需求。 文中主要介绍了系统的硬件及软件设计。 Abstract :The paper explained how to combine the mini PLC-FP0 that was made by Panasonic with pneumatic sensor and position control technology and program with the ladder—shape figure, designing the automatic system that sorts out iron、 aluminum 、yellow plastics and blue plastics . The flexibility of this system is fine, the reliability is also excellent and programming is easy. It adapts to elasticity production line for materials sorting. The design of hardware and software are introduced emphatically in the paper. Key words:PLC;Automatic Sorting System;The Ladder-shape Program