| With the development of express industry and the continuous upgrading of logistics equipment,the technical requirements of industrial controller are becoming higher and higher.China has made great achievements in the research of controller technology,but PLC is still the main control mode of logistics transmission line,and there are certain limitations and singleness in the technical direction.The purpose of this topic is to design a single-chip controller and its graphical software for a cargo conveying line,conduct in-depth research on the hardware structure,control function and system software of the controller,and realize the programming and automatic control of the cargo conveying line.The main research contents are as follows:(1)Study the drive and system communication mode of the transportation line equipment.According to the control requirements of equipment transportation and sorting,station controllers and main controller with communication function are designed to control the transportation and sorting.Through the connection combination between the controller and the equipment,the connection network of the transportation line system is realized.(2)Study the data communication mode in the cargo transportation line,analyze the data information of the cargo object in the transportation line,and design the communication data protocol of the controller.Through the transmission of cargo data in the control system,the control relationship between transportation equipment is established to realize the transportation and sorting functions of the transportation line.(3)Research on graphic software of conveyor line controller.The graphic unit structure with the characteristics of logistics equipment is designed to realize the topological layout of different combined structures of the transportation line,and the initialization process of equipment controller parameters is simplified through parameter definition.Design the code frame of the single-chip microcomputer,and encapsulate the single-chip microcomputer program of the flow chart unit,and establish the operation logic of the equipment by combining the flow chart units.(4)The method of data storage and graph traversal of flow chart structure is studied.The conversion from flow chart to package code is realized through adjacency table and depth first search algorithm.According to the characteristics of MCU code structure,the code adjustment method is designed to realize the standardization of code structure.(5)Test the stability and accuracy of communication data transmission in the transmission line system,and verify the communication and result response functions of the controller.In the designed graphical platform,the connection effect of the graphical configuration of the test equipment and the function of converting the flow chart into the single-chip microcomputer code are tested,and the accuracy of the code is verified by the single-chip microcomputer compiler software. |