Abstract:
Current CNC-based test platforms for machine tool magazines suffer from high costs and closed architectures. Conventional ladder logic programming also struggles to verify complex control sequences across diverse magazine types. To address these challenges, this paper proposes a universal test platform architecture based on domestic programmable logic controller (PLC) and human-machine interface (HMI). The hardware adopts independent functional modules with standardized interfaces, enabling plug-and-play compatibility for five mainstream magazine types. The software implements a multi-language collaborative control model compliant with IEC 61131-3. Structured Text (ST) handles dynamic tool sequence parsing. Sequential Function Charts (SFC) construct visual state machines. Ladder Diagrams (LD) manage low-level interlocks. This layered approach effectively decouples complex control logic. Engineering applications demonstrate flexible control and full-lifecycle verification for all five magazine types. In 100,000 continuous tool-change cycles, three magazine groups achieved an MCBF of at least 100,000 cycles, while one group exceeded 50,000 cycles. Only Magazine Group 4 failed due to mechanical defects, confirming the high reliability of the proposed control strategy. The platform supports heterogeneous magazines without main program reconstruction. It significantly reduces integration complexity and hardware dependency while improving system maintainability and test coverage.