question

Felipe P2 avatar image
0 Likes"
Felipe P2 asked Jeff Nordgren answered

How can I deliver flowitems in two queues?

v1.fsm

Hi guys, I´m working on this model and I´m trying to make task executer unload in two different stages. When it gets to Control Point 5, it has to unload 16 boxes into P1, and when it gets to Control Point 6 it has to unload 16 boxes into P2.

I don´t know why the model is not working well, and the second unloading task is not completed successfully (BOXES ARE MOVED FROM P1 TO P2). Additionally, the model is giving a lot of errors that I don´t know how to solve.

Can anybody help me with this?

Thank you very much!

Kind regards,

Felipe

FlexSim 19.1.0
task executeragv networkunload
v1.fsm (43.0 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.

1 Answer

Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Felipe P2,

Attached is your model with the minor changes that I made.

In your PF block "Release AGV" you were getting an error because you were referencing the wrong token name for the transporter.

When you create your "Index1 & Index2" variables in your Run Sub Flow blocks, it is assigning index numbers from 1 through 32 (all the flowitems you picked up). So when you are unloading to P!, that works just fine because you are using 1 through 16. But when you go to unload P2 you are still using index values 1 through 16. So in the "Run Sub Flow" PF block before doing the unload to P2, I added 16 to Index2. That way when you unload, it will get the last 16 flowitems instead of the first 16.

I hope that makes some sense? If you have any problems or questions, please let us know.

Thanks.

v1-jn1.fsm


v1-jn1.fsm (40.4 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.