This paper focuses on the methods of programming and debugging the PLC program,and completes the PLC programming for an aluminum profile sawing production line based on TIA Portal programming software,achieving fully automated production of aluminum profile sawing.Implemented functions such as automatic feeding,sawing,and automatic cutting of aluminum materials.Realize functions such as monitoring the production process of aluminum profiles for doors and windows,upper-level operation,fault alarm,and historical data query through human-computer interaction interface.The automatic control system of aluminum profile sawing machine has the advantages of convenient operation,simple inter-face,low cost,and high reliability.Improving the level of enterprise automation production and reducing labor costs has application value.