Sample Separter.fsmI have a pallet which is combined with 4 Flow items with value 1 or 0. I only want to separate flow items with value 1 and let the pallet and the rest flow items flow in the system
Sample Separter.fsmI have a pallet which is combined with 4 Flow items with value 1 or 0. I only want to separate flow items with value 1 and let the pallet and the rest flow items flow in the system
You'll need custom logic for this. For that it's pretty much always easier to start with a more basic object and build out the desired logic in Process Flow than it is to try and customize an object with a specific functionality such as the separator.
In the attached model I use a Queue and handle the separation and release logic in an Object Process Flow.
Thanks. This is what I was looking. Will you be able to explain how is split/join working and also this code
See the documentation for how split/join work. In short (and not 100% precise): Split sends a copy of the arriving token out through each connector. Join collects those tokens again, holding them until all have arrived.
In the model I use it because I want to wait until the item has actually left the queue after it is released before I continue the logic. Placing the activities consecutively does not always work. If the item can leave immediately, then placing the "Wait for Exit" activity after the release would miss the exit event and the token would become stuck. I send the first token from the split (note the connector rankings) to the Wait for Exit, so it is already waiting when the second token triggers the release.
Your picture did not upload successfully, so I don't know what code you are referring to. But the only custom code used in the model is in the "Get Type 1 Items" activity. As the name suggests, the code loops through all items on the pallet and creates a an array that contains all items of type 1 which then gets returned and thus assigned to the "ItemsToSeparate" label.
11 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved