Hi!
I was trying to create logic to control which AGVs acquire a control area based on the direction they will take in it. The problem I have encountered is that I can't get multiple requests to be acquired at the same time when the condition to enter is met after blocking their requests. With the On Deallocated event enabled, it always enters the one I select in the process flow (the last request), regardless of the max allocations of the area. However, I can't find a way to indicate that multiple AGVs should enter at the same time. On the other hand, when an AGV leaves the area with the On Deallocated event disabled and max allocations set to 0, no requests are re-evaluated. With max allocations set to 1, requests are re-evaluated in a FIFO manner, and with max allocations greater than 1, it goes into an infinite loop with the On Request event.
I've attached a model to show this. All red AGVs shoud allocate the area when the last black agv deallocates it.
How can I select more than one AGV and allow their requests to acquire the area?
Thanks in advance.