question

Thomas K4 avatar image
0 Likes"
Thomas K4 asked Eric M commented

How to controll tokens with another token?

Hey all! I was wondering how to control a token with another token? In my example at 1 I want to use this token just as a reference for the amount i need. At 2 the source produces flowitems and then the flowitems are stored in rack1. When i need a Flowitem from rack 1, I want to move it just for example to the FloorStorage1. In this case, there appears a error due to false tokenlabel. How to fix this?

Hope someone can help me out!

Thank you!


Lager_Tneu.fsm

FlexSim 21.1.2
flexsim 21.1.2exception errortoken missmatch
1620906919482.png (106.8 KiB)
lager-tneu.fsm (178.8 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 @Thomas K4, was my answer helpful? If so, please click the red "Accept" button at the bottom of my 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

·
Eric M avatar image
0 Likes"
Eric M answered

Hi @Thomas K4, if I'm understanding your question correctly, you just want an item to be moved from Rack1 if a token enters step 1, is that correct? The best way I can think of for doing this would be a list. When a token enters 1, it pushes an entry to the list. Then in 2, a pull from list activity will move the flow item from Rack1 to FloorStorage1. Step 3 wouldn't be needed. I've attached a model as well. Let me know if I'm understanding this correctly.

lager-tneu_EM.fsm


lager-tneu-em.fsm (179.1 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.