Want to make the crane to carry multiple item at a time.crane_multiple_item.fsm
Want to make the crane to carry multiple item at a time.crane_multiple_item.fsm
Hi @Abullais,
You can add this functionality by creating a label for the group of multiple items and using subflows which reference that label. Your process flow will look something like this:
Create a event-triggered source which references an item entering Queue 1. Then, push to your list. Under "Push Value," type token.item. Then, include a sink. (This task sequence will replace your current loop of Source, Pull from List, and Create Tokens).
Before Aquire Crane, add a Schedule Source of quantity 1.
After Acquire Crane, pull from your list. Under the properties of Pull from List, you can specify the number of items you want the crane to transport at once. The "Require Number" field is the minimum value of items, and the "Request Number" field is the maximum value of items, or the number the crane will default to if that amount is available to be pulled.
In the field below "Assign to," type token.GroupOfItems (This creates a label for the group of items to be transported by the crane together).
You can delete the Delay activities since they will be unnecessary. After Travel, add 2 Run Sub Flows. Create 2 task sequences off to the side: the first is Start (under Sub Flow), Load (under Task Sequences), and Finish (under Sub Flow), the second is Start (under Sub Flow), Unload (under Task Sequences), and Finish (under Sub Flow).
Next, you will edit the properties of your first Run Sub Flow activity. For the Destination field, you will sample the Start activity from the Load task sequence you just created. For the Quantity field, type token.GroupOfItems.length. Under Assign Labels to Children, add a label named "ItemRank" with a value of token.GroupOfItems[creationRank].
Repeat this process for you second Run Sub Flow activity. In your Destination field, sample the Start activity from the Unload task sequence.
Edit the "Load" activity so that the Item field says token.ItemRank.
Edit the "Unload" activity so that the Item field says token.ItemRank and the Station is Queue 2.
Make a connection from "Release" to "Source: Token for Crane."
For additional help with subflows, you can reference Task Logic Tutorial 3, linked here: https://docs.flexsim.com/en/23.1/Tutorials/TaskLogic/Tutorial3ConditionalTasks/ConditionalTasksOverview/ConditionalTasksOverview.html
15 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