欢迎来到天天文库
浏览记录
ID:21838864
大小:797.00 KB
页数:27页
时间:2018-10-25
《plc课程设计:自动贩卖机》由会员上传分享,免费在线阅读,更多相关内容在应用文档-天天文库。
1、摘要本论文设计的是基于三菱FX2N系列PLC构成的自动售货机监控系统,本文阐述了自动售货机的来源与发展,以及它在国内外发展的现状,对自动售货机的方案进行了论证,介绍了PLC的基本组成、特点以及工作原理,对基于三菱FX2N系列PLC构成的自动售货机系统整体设计过程进行较为细致的论述。文中详尽地介绍了自动售货机的各硬件组成,并完成了PLC外部接线图。在PLC梯形图的编写时,文中采用的是三菱FX2N的梯形图编译软件FXGPWIN来进行编写。介绍了自动售货机的基本原理以及工作流程,然后以一次交易过程为例,把交易过程分为几个程序块,然后分别对程序块进行编程。具体
2、说明了可编程序控制器在自动售货机中的作用。程序涉及到了自动售货机工作的绝大部分过程。利用PLC控制的自动售货机提高了系统的稳定性,保证自动售货机能够长期稳定运行。关键词:PLC;梯形图;I/O点的分配目录摘要···························································0第1章绪论······················································31.1自动售货机的理论背景与实际意义··························31.2自动售货机的主
3、要内容····································41.3自动售货机的设计思路····································4第2章PLC概述··················································52.1PLC的定义··············································52.2PLC的简介··············································52.3PLC的工作原理·······
4、···································52.4PLC的工作方式··········································62.5PLC的硬件组成··········································72.6PLC的编程语言··········································82.7PLC的特点··············································8第3章自动售货机的设计··············
5、···························93.1系统的硬件设计·········································93.1-1PLC的选型·········································93.1-2I/O分配表·········································93.1-3PLC的外部接线图··································103.2系统的软件设计·································
6、·······113.2-1主程序流程图······································113.2-2投币、显示子程序流程图····························123.2-3比较币值子程序流程图······························133.2-4饮料选择子程序流程图······························133.2-5退币子程序流程图··································143.3程序梯形图······················
7、·····················153.3-1主程序梯形图······································153.3-2判键、显示子程序P1及比较币值子程序P2···········163.3-3饮料选择子程序P3································173.3-4退币子程序P4····································18第4章仿真与调试···········································194.1GXDeveloper的特
8、点································194.2程序的仿真过程与步
此文档下载收益归作者所有