Font Size: a A A

Research On Cross-platform Automated Debugging Technology Based On Scratch

Posted on:2022-09-05Degree:MasterType:Thesis
Country:ChinaCandidate:Y LiuFull Text:PDF
GTID:2518306494978869Subject:Mechanical engineering
Abstract/Summary:PDF Full Text Request
With the development of science and technology,the combination of automated production line technology and computer technology has promoted the development of the manufacturing industry in the direction of high automation,digitization and intelligence,but at the same time it has brought problems such as high debugging costs,long cycles and high risks.In order to solve these problems,this paper proposes the research of automatic debugging technology based on Scratch.This research mainly realizes that the input and output signals of the PLC control program do not rely on the virtual production line model established by the physical device driver during the simulation process,and achieve the same effect as on-site debugging.Not operating on the real production line can minimize the cost and risk value,shorten the design cycle and manufacturing process of the enterprise,and make the product quickly adapt to market demand.The main research contents of this study are as follows:(1)In order to be able to debug the automated production line in a virtual environment,a joint simulation experiment system of the production line model and the PLC controller is established in the graphical programming software Scratch.It mainly studies some methods of modeling in virtual environment and the operating mechanism of message-driven model.Finally,PLC program can drive the virtual production line model to achieve the effect of on-site debugging.In order to reduce the difficulty of establishing the model,a library of common execution components was created in the Scratch software.The execution components are controlled by signals from the PLC.The signal and the status of the execution components need to be configured,mainly using Scratch software The programming function is realized.(2)The communication method between Scratch and multiple platform PLCs was studied,and the debugging system was completed to read,process and write the multiple platform PLC programs in a cyclic scanning manner.And the communication between the Scratch software and the debugging system is realized,so that Scratch can communicate with the PLC through the debugging system as a relay.The debugging system is established by using Python software,and the man-machine interface is designed according to the use process of the debugging system,which is more convenient to use.(3)Take the automated loading and unloading production line as the experimental object,establish the production line model in Scratch,design the PLC control system and write the PLC program,associate the production line model with the PLC signal in the debugging system,and debug the automated production line on the display interface of the debugging system.Verify the feasibility of the developed automated debugging system.
Keywords/Search Tags:Scratch, PLC, automated production line, debugging technolog
PDF Full Text Request
Related items