基于S7-1500 PLC的贪吃蛇游戏的设计与实现
Design and Implementation of Greedy Snake Game Based on S7-1500 PLC
王大鹏 1虎恩典 1王振1
作者信息
- 1. 北方民族大学电气信息工程学院,宁夏 银川 750021
- 折叠
摘要
随着工业技术的快速发展,PLC在工业上的应用越来越广泛.PLC编程成为了各大高校自动化专业的必修课程.首先,利用博途软件中的梯形图和SCL语言对贪吃蛇游戏程序进行了编写以及组态界面的制作.然后,利用西门子S7-1500 PLC和西门子触摸屏对设计好的游戏进行编译、运行和调试.结果表明,该设计可以实现游戏相应的功能,没有明显错误.
Abstract
With the rapid development of industrial technology,the application of PLC in industry is becoming increasingly widespread.PLC programming has become a compulsory course for automation majors in major universities.Firstly,the greedy snake game program and configuration interface were developed using the ladder diagram and SCL language in Botu software.Then,use Siemens S7-1500 PLC and Siemens touch screen to compile,run,and debug the designed game.The results indicate that the design can achieve the corresponding functions of the game without obvious errors.
关键词
PLC编程/SCL语言/人机界面/贪吃蛇游戏程序Key words
PLC programming/SCL language/HMI/greedy snake game program引用本文复制引用
出版年
2024