摘要
随着工业技术的快速发展,PLC在工业上的应用越来越广泛。PLC编程成为了各大高校自动化专业的必修课程。首先,利用博途软件中的梯形图和SCL语言对贪吃蛇游戏程序进行了编写以及组态界面的制作。然后,利用西门子S7-1500 PLC和西门子触摸屏对设计好的游戏进行编译、运行和调试。结果表明,该设计可以实现游戏相应的功能,没有明显错误。
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.
作者
王大鹏
虎恩典
王振
WANG Dapeng;HU Endian;WANG Zhen(School of Electrical Information Engineering,North Minzu University,Yinchuan,Ningxia 750021,China)
出处
《自动化应用》
2024年第15期107-109,113,共4页
Automation Application