question

Kevin Espinoza avatar image
0 Likes"
Kevin Espinoza asked Kevin Espinoza commented

AGV

I try that TaskExecuter2 move whenever TaskExecuter1 is on the ControlPoint1, what can I do?ASK.fsm

FlexSim 24.1.0
agvwaitforevent
ask.fsm (42.1 KiB)
· 2
5 |100000

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

Julio R avatar image Julio R commented ·

Hello Kevin,

I don´t understand what you are trying to do, when I run the model nothing happens, only a token is created but no 3D or processFlow process is defined.

Could you explain a little bit more?

0 Likes 0 ·
Kevin Espinoza avatar image Kevin Espinoza commented ·

This is a part of the complete model, that's why it looks strange

So I want is Taskexecuter2 move when Taskexecuter1 is at Controlpoint1, and can’t move if Taskexecuter1 is not at Controlpoint1, but waitfor doesn't work

0 Likes 0 ·

1 Answer

·
Julio R avatar image
0 Likes"
Julio R answered Kevin Espinoza commented

the wait for event is working, but the event you are listening to is not executing after the token gets to it.

Since you are listening to "on AGV arrival", the AGV has to arrive. Here is a small change in the model where the AGV starts on another control point and travels to that one on time 0, so the wait for event lets the first token through.ask (1)_1.fsm


ask-1-1.fsm (42.6 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.

Kevin Espinoza avatar image Kevin Espinoza commented ·

Thanks Julio :)

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.