question

slim tannoubi avatar image
0 Likes"
slim tannoubi asked Adrian Haws commented

separator how to seperate 4 packed objects in 1 - 3

how to seperate 4 packed objects in 1 - 3 ( one choosed object and the other 3 objects become one 1 object (recycled) )

FlexSim 17.0.0
separatorrecycling
· 2
5 |100000

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

slim tannoubi avatar image slim tannoubi commented ·

A B C D =========> combinator =====> (ABCD)====>separator======> (ABC) (D)

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel commented ·

@slim tannoubi, could you please be so kind to ask your question with a bit more details.

For instance: You have packed three items type (A) to another item of type (B). Now you want that the three packed Items (A) become one item of type A and the item (B) is separated from item (A) again.

Or you have packed several items of type (A) in the range of [1..3] on an item of type (B). Now you want separate the items of type (A) again from the item of type (B).

At the end you want to recycle the items of type (A).

0 Likes 0 ·

1 Answer

Sam Stubbs avatar image
1 Like"
Sam Stubbs answered Adrian Haws commented

The easiest way I can think of to do this is by using Process Flow logic instead of a separator. (I find it difficult to customize the separator without using lots of custom code.) In the case of my example I made a Processor, and a Process Flow that creates tokens based on the OnProcessFinished trigger to simulate a separator.

Then I just created a simple subflow logic that parses through the contents of your packed objects, and moves the specific item to a different location, but keeping your other items packed as you designated.

I've attached the example model below, feel free to use any of it that is helpful to you.

separator.fsm


separator.fsm (22.1 KiB)
· 3
5 |100000

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

slim tannoubi avatar image slim tannoubi commented ·

very good thx a lot

but in which part can we choose which object can be separated from others

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel slim tannoubi commented ·

The Decide Activity in the subflow is responsible for the item which has to move. The item type sets the condition of the port connection.

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

This ProcessFlow moves the processed pallet with all items on it to a Queue named Pallet. Then a Sub Flow moves an item of the itemtype 1 of all items on the transferred pallet to an Queue object named Item1. This works completly without any Connections in the 3D Model. Thus it isn't possible to use the Option Use Transport in the Processor to implement a taskexecuter for transport.

Attached another example model:

0 Likes 0 ·