Design and Implementation of Greedy Snake Game Based on 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.
PLC programmingSCL languageHMIgreedy snake game program