摘要
介绍了一种基于PLC控制的水果售货机的方案设计:硬件和软件设计并重点介绍了设备的工作原理、硬件选择及软件设计。软件设计包括I/O口的分配、运行程序框图的绘制以及梯形图的编译。最终通过各阶段的设计,使自动售货机能达到最终的设计要求,对顾客投入的不同货币进行处理,从而售卖不同品种的水果和找零。设计的一台水果售货机,主要用于人流量大的地区的水果的自动售货,具有一定的先进性和实用性,此种售货机的设计思想可以推广到其他类型售货机的设计。
The design of the fruit vending machine based on PLC control was introduced, including working principle, the hardware selection and software design of the equipment. The software design includes the distribution of the I/0 port,the drawing of the program diagram and the compiling of the ladder diagram. Through the design ,the vending machine can meet the requirements of the final design to deal with the different currency customers input, sell varieties of fruits and give change. The designed fruit vending machine is mainly used for automatic vending of fruits in large flow area. It has practica- bility ,and the design idea of this vending machine can also be extended to other types of vending machines.
出处
《现代机械》
2018年第1期91-94,共4页
Modern Machinery
关键词
售货机
PLC
梯形图
vending machine, PLC,ladder diagram