question

Ryosuke S avatar image
0 Likes"
Ryosuke S asked Ryosuke S commented

Writing AGV Travel Time to Globaltable

Hello, I want to write the AGV travel time to the globaltable. From the past Answers, have read that I should get the travel distance then divide by max speed. However, I noticed that by using Zone, it contains the travel time in statistics. Is it possible to write this value to the table? If possible, how?

TestPickUp.fsm

FlexSim 20.0.4
zonetaskexecutorflexsim 20.0.4
capture1.jpg (228.3 KiB)
testpickup.fsm (47.2 KiB)
5 |100000

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

Mischa Spelt avatar image
0 Likes"
Mischa Spelt answered

You can use the zone for that, but I guess that since you probably know the row number you want to write to there is an easier solution.

Just use an Assign Labels activity to log the start time of the travel to a label on the token, and when the travel finishes write the difference between the current time and the start time to the table, for example using a Custom Code activity.

testpickup.fsm


1598617969460.png (165.1 KiB)
testpickup.fsm (48.2 KiB)
5 |100000

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

Tomasz MG avatar image
0 Likes"
Tomasz MG answered Ryosuke S commented

It's the best way to make simple time reports

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

Ryosuke S avatar image Ryosuke S commented ·

Hi @tomasz.mg, Thank you for your reply. It is what I wanted to do!

0 Likes 0 ·