question

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

How to set different delay time with load/unload for the waypoint

There is a controlpoint at every corner, and I'd like the avg to stop for certain moment at the corner. The stop time will be different between loaded and unloaded agv. What is the condition I should write at the waypoint 'Wait for defined delay time'?

capture031.jpgtest.fsm

FlexSim 21.0.6
agvdelaytimewaypoint
capture031.jpg (160.3 KiB)
test.fsm (110.1 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.

Eric M avatar image Eric M commented ·

Hi @Ryosuke S, was Roi Sánchez's or Joerg Vogel's answer helpful? If so, please click the red "Accept" button at the bottom of one of their answers. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Roi Sánchez avatar image
1 Like"
Roi Sánchez answered Joerg Vogel commented

Hi @Ryosuke S , try to put this code in the Waypoint logic condition:

1625743955710.png


1625743955710.png (103.7 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 ·
You don't need any logical comparision on property length. Any interger value larger than empty is true.
0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited
te.subnodes.length
· 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 ·

STATE_TRAVEL_LOADED

te.stats.state() == STATE_TRAVEL_LOADED
0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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