question

Francesco S avatar image
0 Likes"
Francesco S asked Benjamin W2 commented

how can i move the boxs from queue to rack?

modello_robotic_arm_2.fsm

hi everyone, my goal is to move the boxs from queue to rack, in this process flow, through a list that identify the position of box in the rack and the ID of box, because we have supposed to work with different products. can anyone help me? thank you

FlexSim 20.0.0
flexsim 20.0.0
· 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @Francesco S,

This is definitely possible, however your model is throwing some weird errors. Is there a reason that you are drawing fixed resources using process flow? They work a lot better if you create them before starting your model.

0 Likes 0 ·

1 Answer

Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered Benjamin W2 commented

Hi @Francesco S,

Please see the attached demo model. The key is to set the "Slot Assignment Strategy" field to "By Bay, Level, Slot ID". Then, make sure each item on your list has 3 labels. One for the bay, one for the level, and one for the slot. In the Slot Assignment Strategy, populate Bay, Level, and Slot with the respective label (item.bay, item.level, and item.slot).

Now, whenever an item enters the rack, it will go to it's assigned slot.


Rack Logic.fsm


rack-logic.fsm (221.4 KiB)
· 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.

Francesco S avatar image Francesco S commented ·

modello_robotic_arm_2.fsm

thank you for your help, so i tryed to modify the process flow following your model, but i don't know why it doesn't work. if I attached my model can you help me? thank you

0 Likes 0 ·
Braydn T avatar image Braydn T Francesco S commented ·

@Francesco S

If you look at your slot assignment strategy after you run your model, it does not match what ben sent you. I am unaware of a command to change the assignment strategy by code, I will have to look through the documentation. What is the reason why you would want to create the objects programatically?

0 Likes 0 ·
Benjamin W2 avatar image Benjamin W2 Francesco S commented ·

There are a few things wrong with your model. First, in your "Custom Code" activity, you are trying to assign an item to a rack when the item doesn't exist yet. You can delete this activity. Second, you are trying to pull from a list when you haven't pushed any items onto the list. Third, there is no task executor assigned to the "Load" and "Unload" activities, because you are creating the task executors dynamically.

Why are you creating objects and items in Process flow?

0 Likes 0 ·
Francesco S avatar image Francesco S Benjamin W2 commented ·

perché nel mio lavoro di tesi stiamo cercando di simulare il braccio robotico che crea un pallet misto su un compito dell'esecutore, ma lo scenario non è stabilito, quindi stiamo cercando di renderlo il più generale possibile. Ho poca esperienza in flexsim, non riesco ad assegnare elementi all'elenco.

0 Likes 0 ·
Show more comments