I didn't look too deep into what was defined on the Setup time since that was for me a given. What is the behavior that you want to have? When is the setup time needed? Every time a new type of product arrives?
In that case, you can create a label on the "Feige afvulmachine" (be sure to clear it on reset using an Initialize atom) in which you store the PAA of each product that leaves the server.
Code: Select all
Label([LastPAA], c) := Label([PAA], i)
Code: Select all
if(
Label([LastPAA], c) <> Label([PAA], first(c)),
300
)
I hope this helps you further.
Regards,
Harry