1、 基于基于 PLCPLC 和组态王的自动售货机控制系统的设计和组态王的自动售货机控制系统的设计 专专 业:业:测控技术与仪器测控技术与仪器 学生姓名:学生姓名:* 学学 号:号:* 指导教师:指导教师:* II 摘要摘要 随着科技的发展及购物理念的不断更新,自动售货机的出现给我们提供了很 多的方便,取代了一些传统的营销,让营销方式变得多样化,同时也适应了社会 发展的需求。为人们提供便利的同时,又能让人们体验新的购物方式。 本文主要介绍了简易自动售货机的基本控制原理及工作流程,采用三菱 PLC 编程软件对售货机的售货过程进行了程序编写,并在组态王 6.55 上进行模拟交 易的仿真。设计中主要实现
2、了普通售货机的基本功能,其包括投币累加、钱币不 足提示、退币提示、选择购买商品以及自动结算等功能。设计系统中,一次只能 购买一种商品,为了不发生程序错误,在其中设计了较多了互锁。其整个功能的 实现均可在组态王上进行模拟交易。 关键字:关键字:自动售货机;控制系统;监控系统;调试;仿真 III AbstractAbstract Constantly updated with the development of science and technology and the concept of shopping, vending machine provides us with a lot of
3、 convenience, replacing the traditional marketing, let marketing become diversified way, but also to adapt to the needs of social development. To facilitate the people, but also allows people to experience a new way of shopping. Are introduced in this paper simple vending machines basic control prin
4、ciple and working process, uses the Mitsubishi PLC programming software of the vending machine sales process of programming, and simulated trading simulation on Kingview 6.55. The design mainly realizes the basic function of ordinary vending machine, which comprises a coin accumulation, coin shortag
5、e prompted, coin tips, choose to buy goods and automatic billing and other functions. In the design system, only one kind of commodity can be purchased, in order not to have the procedure mistake, in which the design has been more interlocking. The whole function can simulate the transaction in king
6、view. Keywords:Keywords: vending machine ;control system;monitoring system;debugging; simulation 昆明理工大学 设计(论文) 专用纸 III 目目 录录 摘要 Abstract 第 1 章 绪论 1 1.1 课题的研究目的和意义 1 1.2 自动售货机控制系统的研究现状 2 1.3 论文的结构 2 第 2 章 自动售货机的控制方案论证及选择 4 2.1 自动售货机简介 4 2.2 自动售货机的控制要求 5 2.3 自动售货机的控制方案论证及选择 6 2.3.1 控制方案论证及比较 . 6 2.3.2 方案选择 . 8 2.4 本章小结 9 第 3 章 控制系统的硬件设计及选型 . 10 3.1 自动售货机控制系统的硬件构成 . 10 3.2 PLC 的选型 . 10 3.3 工控机的选型 . 12 3.4 本章小结 . 13 第 4 章 自动售货机 PLC 控制系统设计与实现 . 14