question

Ryusuke T avatar image
0 Likes"
Ryusuke T asked Ryusuke T commented

Can't catch the On Arrival event

Hi,

In the attached model, if an AGV is placed on the timetable, the On Arrival event cannot be caught properly. In the situation, a break occurs in the timetable just before arriving at the destination, and when the break ends, the AGV resumes moving again, but passes the destination. The On Arrival event does not occur.

2024121301.png


If exclude the AGV from the timetable, it will properly catch the On Arrival event, which is what I want.

2024121302.png


What is happening and how can I get the On Arrival event to fire correctly when I have it set in the timetable?

OnArrivalNotWorking.fsm

FlexSim 24.0.4
taskexecutorswaitforeventon arrival
2024121301.png (50.5 KiB)
2024121302.png (46.3 KiB)
· 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.

Joerg Vogel avatar image Joerg Vogel commented ·

@Ryusuke T, is there a pre arrival event? Or is there a different event, that you can try?
You can look into the event list and maybe you have to change the order of events to get a desired behavior.

0 Likes 0 ·

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Ryusuke T commented

When you redirect the AGV the destination stored in the task sequence stays the same. The time table stops the AGV by dispatching a preempting task sequence to it. When it resumes, the last task is started over which restores the original destination.

You can also change the destination object in the travel when redirecting as a workaround.

onarrivalnotworking_1.fsm


· 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.

Ryusuke T avatar image Ryusuke T commented ·

@Felix Möhlmann ,

I was able to understand how the AGV task sequence works. Also, thank you for the sample model on how to work around it.

It was very helpful!

0 Likes 0 ·