Processor

Processor

cayo_e
Not applicable
240 Views
1 Reply
Message 1 of 2

Processor

cayo_e
Not applicable

[ FlexSim 18.2.0 ]

Good morning, is there any way in FlexSim to enter an item in the processor and it comes out in different ways different, for example, enters a pellet with "x" and leaves the processor with 4 pellets of lower particle size, is it possible?

0 Likes
Accepted solutions (1)
241 Views
1 Reply
Reply (1)
Message 2 of 2

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

It is possible. Unfortunately you must write a FlexScript source code or create a ProcessFlow logic on your own. The logic creates copies of the entry pallet and the boxes. Maybe you set a different size. Then you release the additional pallets to the next object.

Flexscript source code OnProcessFinish Trigger in Processor for items on a pallet

createcopy(item,current);
  // this gets a copy as the last item in current 
objectforobjecttreeunder(current.last) a.as(Object).setSize(.3,.3,.5);
  // this resizes the items on the copied pallet
releaseitem(current.last,2);
  // this sends the copied pallet to the output port 2
forobjecttreeunder(item) a.as(Object).setSize(.6,.3,.3);
  // this resizes the items on the original pallet