question

Mark S3 avatar image
0 Likes"
Mark S3 asked Ben Wilson commented

Under the REDIRECT_AND_WAIT condition, the AGV cannot restart the task

This is a simplified model.Under some conditions, the AGV may need to wait for a period of time at the unloading point before it can unload.In my model, an AGV needs to wait when the number of arrivals is even.I used "Way Point" to achieve my desired functionality, but the AGV was unable to continue after waiting for some time .

I did a simple test.If the CP point waiting is not the CP point connected to the unloading platform, the AGV can wait and resume the task

It's confusing to me. How can I solve this problem?

Thanks in advance!

TestAGV.fsm


FlexSim 20.1.1
agvflexsim 20.1.1
q9szqmr245ougn.png (39.8 KiB)
testagv.fsm (92.4 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.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @Mark S3, was jason.lightfoot's answer helpful? If so, please click the red "Accept" button on their answer. 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 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

I think the fact that you're redirecting to the control point at which you're both arriving as a waypoint and is also your final destination is confusing the logic - and you end up with two pre-arrivals for the same approach event.

By changing the Sink's control point and ignoring the double call we can get the behaviour you want, or you could add another control point as the waypoint and avoid the double call.

Attached is a version with a Sink waypoint and altered code to ignore the double call.

testagv_jl.fsm


testagv-jl.fsm (28.6 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.

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.