Abstract:The rotating frame is the key component of the proton therapy equipment. Its main function is to bear the weight of key components such as the therapeutic head and beam transport line, and to rotate to a certain angle to realize the irradiation of proton beam at a specific angle of tumor. Aiming at the control requirements of terminal control rotating frame movement during radiotherapy, a design method of proton therapy rotating frame control system is proposed. Based on Socket communication technology, the server program of the main control room and the client program of the industrial computer are developed, and the human-computer interaction interface between the server and the client is designed using MFC class library. On this basis, the PLC upper control module based on S7.Net library is developed in the client program. In order to ensure the level of the medical platform in the process of rack motion, a synchronous motion control model is designed in the PLC program to realize the synchronous motion of the rack and the medical platform. The field test results show that the system can control the movement of the rotating frame in the range of - 180 °~180 ° at 0.1~1 rpm, and control the extension and retraction of the pneumatic pedal. It also monitors the rotation angle and speed of the rack in real time. The system is applicable to the working environment during chemotherapy. It is also verified that the designed synchronous motion control model can realize the synchronous motion of the rotating frame and the medical platform.