question

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst asked Patrick Zweekhorst commented

Agvreassigncp goes wrong when attaching trailers at the back

Hi

We have a problem using agvreassigncp (or AGV.currentCP) in combination with trailers attached to the back of the AGV. We have made a simple example model that shows the problem. What is not normal in this situation is that we don't reassign the AGV when it is on a control point, it is on its way to a control point, but before it gets there we remove the task sequence and reassign it to another cp. When the AGV starts traveling again you can see it makes a small jump. The AGV is not at the start cp, but its last trailer is at the cp. When the trailer is at the front of the AGV everything works fine.

The model:
test.fsm

Thanks for your time,

Patrick

FlexSim 19.0.2
agvtrailerreassigncp
test.fsm (27.0 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Joseph Gillespie avatar image
0 Likes"
Joseph Gillespie answered Patrick Zweekhorst commented

@Patrick Zweekhorst

Sorry for not responding to you until now, this was a difficult question to answer. I'm still not entirely sure why this problem occurs, though I could add some of the developers to this question to see if they know what is going on.

I did find a workaround that does what you want it to do without using control points or putting trailers in front. It works by detaching the trailers from the AGV, changing its' control point, having it begin to travel (with wait until complete unchecked), breathing (break of 0 seconds), and then reattaching the trailers. Visually you can't even tell that the trailers were detatched.

Here is your model with this fix working: agvreassigncpanswer.fsm

Let me know if you have any questions!


· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.