I'm asking you a question by simplifying the line.
As you can see in the attached file and the figure below, the line is controlled using 3D objects and PF.
I would like to ask you that the item that arrived first of the two points DP8 and DP5 is leaving first, but I would like to configure the logic so that all the items on the conveyor near DP8 go out first.
I think there will be a plan as below, so please help me.
Method 1. Add logic in PF to send all the items on the conveyor near DP8 first, and when the items near DP8 are exhausted, how to start the items near DP5 (and if two or more items are stacked on the conveyor near DP8, the items near DP5 should stop)
Method 2. Using CODE script, if the number of items on the conveyor near DP8 is 0, how to start the item on the conveyor near DP5
(CONVEYOR.LENGTH < 0, STOP / CONVEYOR.LENGTH > 0, RESUME, etc. I'm trying to do it myself, but it's not working well...)Q1.fsm