question

Julio R avatar image
0 Likes"
Julio R asked tannerp commented

Positioning strategy for rack

Hello,

I have code a trigger to position the items inside a rack as if every bay was a queue. It works if the Place in Bay and Place in Level logic are First Avaliable, but it looks at the last item to position the next, so I need to be able to get the last item in the bay and level that the new item is going to. I want to use the same positioning logic with a random bay and level logic.

On the Entry Trigger I have this logic, and I only need to Change the first variable "lastitem" and it will work.

Is there a simple way to get that item?

acomodo-rack.fsm

FlexSim 18.2.0
rackposition item
acomodo-rack.fsm (17.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.

1 Answer

Jeff Nordgren avatar image
2 Likes"
Jeff Nordgren answered tannerp commented
@Julio R

I believe that this is what you are after?

In Rack1, I added a label to keep track of the last flowitem to enter the rack. Then I made a couple of minor fixes to your code in the OnEntry trigger and added an OnReset trigger to reset the label. Take a look at the model and see if this is what you had in mind. Let us know if you have any problems or questions.

Thanks.

acomodo-rack-jn1.fsm


acomodo-rack.gif (13.5 MiB)
· 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.