separator how to seperate 4 packed objects in 1 - 3

separator how to seperate 4 packed objects in 1 - 3

slim_tannoubi
Not applicable
9 Views
6 Replies
Message 1 of 7

separator how to seperate 4 packed objects in 1 - 3

slim_tannoubi
Not applicable

[ FlexSim 17.0.0 ]

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

0 Likes
Accepted solutions (1)
10 Views
6 Replies
Replies (6)
Message 2 of 7

joerg_vogel_HsH
Mentor
Mentor

@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
Message 3 of 7

slim_tannoubi
Not applicable

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

Message 4 of 7

sam_stubbsYXX86
Community Manager
Community Manager
Accepted solution

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

Message 5 of 7

slim_tannoubi
Not applicable

very good thx a lot

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

0 Likes
Message 6 of 7

joerg_vogel_HsH
Mentor
Mentor

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
Message 7 of 7

joerg_vogel_HsH
Mentor
Mentor

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