@Felix Möhlmann I have used this code in other models to complete the task before, but when I copied it to a new model, there was an error message. I don't know what happened. There are some performances in the model that I want to know but I don't. Find relevant performance (such as the average utilization rate of the machine), I will mark it in English!!0127.fsm