question

ana ZI avatar image
0 Likes"
ana ZI asked Benjamin W2 answered

Combinar items de un solo tipo, conforme lleguen

Hola, tengo dos tipos de items, y quisiera que mi combiner hiciera packs de 4 unidades de un solo tipo (los primeros 4 de un tipo disponibles). ¿Tengo que usar Process Flow para esto ?

combinercombiner itemtype
· 4
5 |100000

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

Braydn T avatar image Braydn T commented ·
In English:
Hello, I have two types of items, and I would like my combiner to make packs of 4 units of a single type (the first 4 of a type available). Do I have to use Process Flow for this?
0 Likes 0 ·
Braydn T avatar image Braydn T commented ·

Hey @ana ZI

If I understand you correctly you could do this in 3D, but it will be much easier in process flow. You want different types to arrive in a queue, and then when there are 4 of one type, to add it into the combiner? Could you upload your model so we could take a closer look?

Tag me @Braydn T so I will be notified when you do.

0 Likes 0 ·
ana ZI avatar image ana ZI commented ·

Este es mi 3D, combiner1.fsm

Muchas gracias

0 Likes 0 ·
combiner1.fsm (34.4 KiB)
Gabriel Illescas avatar image Gabriel Illescas commented ·

No necesitas usar process flow solo ocupas modificar el codigo del combiner en el apartado de pull

0 Likes 0 ·

1 Answer

·
Benjamin W2 avatar image
0 Likes"
Benjamin W2 answered

Hi @ana ZI,

There are many ways to accomplish this using process flow. I personally find it easier to use a Queue instead of a combiner. Here is an overview of my solution:

  1. Have both Queue2 and Queue3 push to a global item list.
  2. Delete the processor and create a Queue5 with a maximum capacity of 1.
  3. Create a Resource activity in process flow that is connected to your operator.
  4. Create a List activity that connects to the list described in step 1.
  5. Have a process flow Scheduled Source create 1 token.
  6. Have this token acquire the operator resource.
  7. Create a loop:
    1. This loop will use a Pull from List activity to pull from the list described in step 1 using a query. This query should look something like "WHERE Type = 1".
    2. Have the resource aquired in step 2 travel to Queue2 using a Travel activity.
    3. Use a Move Object activity to move all items pulled from step 6.1 to the operator.
    4. Use a Travel activity to have the operator travel to Queue5.
    5. Use a Move Object activity to move the items into the pallet. Refer to the pallet with the following command: "Model.find("Queue5").subnodes[1].as(Object)".
    6. Repeat these steps for Queue3.

Note, this will have Operator2 pull all 4 items at once. It is possible for him to pull one at a time with some small modifications.

Let me know if you have any questions!

combineprocessflow.fsm


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.