How to make AGV stop at each control point for specified amount of time?

How to make AGV stop at each control point for specified amount of time?

pinakin_k
Not applicable
275 Views
13 Replies
Message 1 of 14

How to make AGV stop at each control point for specified amount of time?

pinakin_k
Not applicable

[ FlexSim 18.1.2 ]

This question was asked before, but the solution did not help me.

I have a model of a closed path having 24 control points and 23 AGVs. the agv should stop at each CP for specified amount of time.

0 Likes
Accepted solutions (1)
276 Views
13 Replies
Replies (13)
Message 2 of 14

pinakin_k
Not applicable

Here is the model: agv-new.fsm

0 Likes
Message 3 of 14

isaac_l1
Not applicable
Accepted solution

@Pinakin K

You can do this by adding way points. A way point is created by:

Click on the AGV network path

Click on AGV network properties

Click on Way Points Tab

Add a way point using the sampler and clicking on a control point on the AGV network

Change Trigger Point to "On Arrival"

Change Trigger Requirement to "Always Fire"

Change Way Point Logic to "Wait for Defined Delay Time"

Then to make the AGV continue to the next control point:

Add "Redirect via Direct Reference" (Make sure to connect the control points with "NextLookForWork")

14947-waypoint.png

You can direct the AGV to continue to the next way point by adding "Redirect via Direct Reference." Make sure to add more way points for each control point in the AGV network

14951-continue-on-waypoint.png

Message 4 of 14

pinakin_k
Not applicable

I did not get it when you said, Make sure to connect the control points with "NextLookForWork"

0 Likes
Message 5 of 14

isaac_l1
Not applicable

Make an "A" connection from one control point to the next one and then select "NextLookForWork"

14968-next-look-for-work.png

0 Likes
Message 6 of 14

isaac_l1
Not applicable

Here is an example model. Hopefully this is similar to what you are trying to achieve.

agv-stop-at-waypoints.fsm

0 Likes
Message 7 of 14

pinakin_k
Not applicable

agv-new-7.fsm

its giving an error saying, it could not find a valid path

0 Likes
Message 8 of 14

pinakin_k
Not applicable

Its working now, I had to shift the control points a bit further or backward where the network lines are joined together. If I put the control points on the intersection of the network lines, it shows a message that "it could not find a path to reach the next control point"

Not sure if its a bug or not.

Message 9 of 14

isaac_l1
Not applicable

Do your network lines need to be separated? Or can the network lines be one long line?

0 Likes
Message 10 of 14

pinakin_k
Not applicable

Some of them need to be separate. Not all. Because some would be accumulating, and some would have different speeds.

0 Likes
Message 11 of 14

isaac_l1
Not applicable

The control points have to be either on one track or the other, they cannot be where the connection is located. This is because the connection point is not actually a part of the track, so it doesn't have the logic built into it.

0 Likes
Message 12 of 14

pinakin_k
Not applicable

@Isaac Litster

But the control points snap on to the connection so even if I put a little offset on the control point, it goes and snaps to the connection of two tracks. Is there a way to do that. I turned off the snap to grid but it does not work.

0 Likes
Message 13 of 14

isaac_l1
Not applicable

Sorry for the late reply. Do you still need help with your question?

I'm not sure if I understand the situation correctly. Could you possibly draw a picture or attach an image of an example of the control points snapping?

Thanks

0 Likes
Message 14 of 14

pinakin_k2
Not applicable

Hi, my previous account had some problem, so I'm replying with this account.

15260-cp-snap.png

If you see the control point next to the connection, so If I put the coordinate of the control point offset by 1mm from the path connection point, it snaps on to the path connection point.

I tried turning off the snap to grid, but it is still not working.

0 Likes