question

joey avatar image
0 Likes"
joey asked Joerg Vogel commented

Set the entry-exit location of the item.

Hello everyone. I have trouble identifying the entry-exit location of the item.

I have "GlobalTable In, GlobalTableOut "which I want to use in determining the entry-exit location of the item in "GlobalTable In, GlobalTableOut" .

no = Labels

x = location of the item

y = location of the item

z = location of the item

I tried setting the location of the item, but there was a problem with the model being created. This is the model I created.20953-outanswer2.fsm

FlexSim 19.0.4
set location
20953-outanswer2.fsm (502.6 KiB)
· 5
5 |100000

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

Joseph Gillespie avatar image Joseph Gillespie commented ·

@joey

Could you explain what you mean by "there was a problem with the model being created"?

0 Likes 0 ·
joey avatar image joey Joseph Gillespie commented ·

HI @Joseph Gillespie I added a new model setting 20953-outanswer2.fsm

This is a list issue out from the "FIFO" queue.

But I have set the list to be out from the queue based on "GlobalTableOut", which the item that the arrow should be out first.

0 Likes 0 ·
20953-outanswer2.fsm (502.6 KiB)
00.png (146.9 KiB)
01.png (195.3 KiB)
Joseph Gillespie avatar image Joseph Gillespie joey commented ·

@joey

Why not use the default queue stacking? The way you are trying to do it is very complicated and is only a visual change that will not change the results of your model.

The way you are trying to do it with the Out table won't work because you are pulling from a list to decide which items to load from the queues. Even if I set the "Pull from List" to pull the youngest items (causing the last-in-first-out behavior you want), it will not pull any of the items added by Transporter1 in the meantime, causing an effect that looks like this:

0 Likes 0 ·
capture.png (173.7 KiB)
Show more comments

1 Answer

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel commented

You pull in your model from a list. The Pull result is an array. You loop through this array by incrementing an index label.

You can loop through this array in opposite direction:

  • You can start the index label with length of the array and decrement.
  • You can reverse the values in the array.
  • You can query the list by an order that the result is as you need it.
· 6
5 |100000

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

joey avatar image joey commented ·

Hi @Jörg Vogel I don't understand for your suggestions. Because I'm new to the Flexsim program, but I doubt that you recommend "The result is always an array." You mean here?

Can you explain more about your suggestions for me to understand?

Thank you.

0 Likes 0 ·
09.png (2.8 KiB)
Joerg Vogel avatar image Joerg Vogel joey commented ·

you pull 63 entries of the List Out. The label "pulled" at the token must contain then an array of the 63 items! I push the items on exit of the source to the list "Out" and in Process Flow I reverse the elements of the array that the transporter can load the last item of the queue first. Unfortunately you let fill the queue while you transport items to the BasicFR. This mess up the storage structure similar to your original question.

outanswer2-array-reverse-jv.fsm

0 Likes 0 ·
joey avatar image joey Joerg Vogel commented ·

Hi @Jörg Vogel I set the pull wrong . I should set it to 62, not 63.99.fsm And now my model pulls out the item that this arrow shows first But I want the circular items to be removed from the queue first.

0 Likes 0 ·
99.fsm (502.6 KiB)
4.png (197.5 KiB)
Show more comments
joey avatar image joey joey commented ·

Thank you very much.@Jörg Vogel What you edit is add "Assign Labels "Just come in, right?

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel joey commented ·

yes, I reverse the array there.

0 Likes 0 ·