APP下载

基于单片机的可编程序控制器设计

2016-05-14王清珍邵杰

现代电子技术 2016年6期

王清珍 邵杰

摘 要: 针对现有PLC的设计、制造的过程十分复杂,价格昂贵,不适合小批量生产、制造的缺点,现设计一种低成本简易PLC,对这种PLC进行硬件结构设计和系统软件设计与调试。经过实践可用于对具有一定工作工程的机械设备控制,来代替接触器、继电器控制系统提高控制可靠性。该可编程程序控制器构成的系统共可处理1 024 B,8 192个点的现场信号,应用前景很灵活,很广泛。

关键词: 可编程控制器; 设计过程; 硬件结构; 机械设备控制

中图分类号: TN710?34; TP368.2 文献标识码: A 文章编号: 1004?373X(2016)06?0161?05

Design of programmable controller based on microcomputer

WANG Qingzhen, SHAO Jie

(Zhengzhou University of Science &Technology, Zhengzhou 450064, China)

Abstract: The design and manufacture process of the existing PLC are complex, and its cost is expensive, which is unsuitable for small?lot production and manufacture, so a simple PLC with low cost was designed. The hardware structure design, system software design and debugging for this PLC were conducted. The practice proves that the PLC can be applied to mechanical equipment control of a certain working engineering to replace contactor and relay control system, and improve the control reliability. The system composed of programmable controller can process the field signal with 1024 bytes and 8192 points, and has flexible and extensive application prospect.

Keywords: programmable controller; design process; hardware structure; mechanical equipment control

0 引 言

可编程序控制器(PLC)在工业现场控制中有着广泛的应用。目前市场上的PLC大都为技术实力雄厚的大型企业生产,如日本的三菱、欧姆龙,德国的西门子等厂家[1]。这些厂家具有丰富的电子产品生产经验和完善的技术链条,可以完成对PLC的硬件、软件、上位机开发软件和配套设备的设计、制造、销售和培训等的一系列过程,甚至包括PLC内部的处理器芯片,都是由这些厂家中负责生产集成电路的部门制造的。这些主流可编程序控制器功能完善、可靠性很高,而设计、制造的过程十分复杂,从硬件电路的设计到上位机软件的开发是一个复杂的系统工程,必须是大型企业才具备这样的条件,而中小型企业很难进入PLC设计制造领域。

在当前PLC应用场所之中,并不是所有的地方都需要功能复杂、完善的PLC。

目前通行的PLC,除了具有基本指令之外,还具有复杂的功能指令、具有现场总线功能和联机通信、具有多种功能模块扩展功能,还包括与一些相关工控设备,如触摸屏等连接功能。……

登录APP查看全文