文档介绍:基于PLC自动售货机控制系统设计与仿真
摘要
本文简要介绍了自动售货机的发展现状,又简要分析了自动售货机的基本功能及工作方式。针对现在自动售货机控制系统的优缺点,设计了一个基于PLC的自动售货机控制系统及用组态王对其仿真。
本文的重点放在PLC程序的设计和组态王组态界面的制作。在进行PLC程序设计的时候,利用了梯形图的编程方式,采用了模块化的编程思想进行设计,按照自动售货机系统的内部工作过程来单独进行分析。因此该系统具有理解较容易,查找代码及调试方便等特点,并且能很好的达到自动售货机的各项控制性能指标,可以在实际中进行应用。最后用组态王组态软件进行监控系统的运行画面的仿真,使自动售货机的工作的每一过程可以更直观的展现出来,同时节约了自动售货机的开发成本和不必要的开发原材料浪费。
关键词:可编程控制器;自动售货机;梯形图
Automat Control System Design and Simulations
Based on PLC
Abstract
This article briefly introduces the development of automat, and briefly analyses the automat’s basic functions and working methods, it designs a control system of automat based on PLC in allusion to the advantages and advantages of automat control system.
This article focuses on the program design of PLC and making the configuration interface. When I design the PLC program, I introduce The Modular Design ideas, Use of the ladder diagram programming approach. I take analysis separately according to the internal work processes of automat. Therefore, the system is characterized in simplicity and convenience of understanding, looking up and debugging, and is able to satisfy all the work indicators required by automat. It can be applied in practice. Finally,The kingview configuration software is used to monitor the operation of the screen, so the work process of automat can be more intuitive to present. at the same time saving development costs of the automat.
Key words: PLC; Automat; T-figures; Configuration
目录
论文总页数:35页
1 引言 1
课题背景 1
国内外研究现状 1
课题来源及意义 2
课题研究方法 2
文章内容 2
2 PLC技术的简介 3
PLC的概述 3
PLC的定义 3
PLC的发展 3
PLC的特点 4
PLC的硬件结构及作用 5
欧姆龙CP1H可编程控制器的介绍 7
CP1H的特点 7
CP1H基本功能 8
3自动售货机控制系统的设计 9
系统方案设计 9
9
9
10
PLC的I/O地址分配 10
11
余额比较过程 12
投币过程 13
饮品价格比较过程 15
选择商品过程 16
退币过程 18
强制复位过程 19
20
4组态软件的设计 22
22
22