AGV Control Area Pass-Through

AGV Control Area Pass-Through

wproctorPG49C
Enthusiast Enthusiast
345 Views
1 Reply
Message 1 of 2

AGV Control Area Pass-Through

wproctorPG49C
Enthusiast
Enthusiast

I am routing agv shuttles through a shipping area and have had issues keeping them from gridlock.  To remedy this, I have put a series of control areas along a one-way path with the control areas enclosing elevator exit control points and drop-off control points to the sides of the main aisleway.  I would like to see if there is a way to allow an agv to pass through the area if their final destination is not one of the control points to the sides of the main aisleway.

0 Likes
Accepted solutions (1)
346 Views
1 Reply
Reply (1)
Message 2 of 2

FelixMoehlmann
Collaborator
Collaborator
Accepted solution

You can override the return value of the OnRequest event to allow or block requests regardless of current allocations and allocation limit. 

moehlmann_fe_0-1763364997111.png

You can write code in the "Return Value" field to make this depend on the destination. I would store the relevant control points in an array label on the areas and compare the final destination of the AGV to those. See mockup code below.

Array aisleCPs = token.ControlArea.AisleCPs;
if(aisleCPs.indexOf(AGV(token.AGV).finalDestinationCP) > 0)
{
   // Case when destination in aisle
}
else
{
   // Destination not in aisle
}