question

vincenzodm avatar image
0 Likes"
vincenzodm asked Joerg Vogel edited

I have a problem on the warehouse simulation

Hi, I wanted to know how to solve a problem in flexsim. the pallet pick-up conveyor shifts unnecessarily to the output port located on the same side of the input port, and then subsequently picks up the pallet on the other side of the rack, which in the meantime has moved into gravity racking. In practice, in this way it counts a useless movement and consequently a not useful time. I would like the conveyor to pick up the pallet at the end of the conveyor inserted in the rack. I wait for your solutions. thank you. I attach the file prova1- 9 flexsim in the message.

FlexSim 18.2.2
load itemdesign travel routedestroy task
prova1-9.fsm (182.5 KiB)
5 |100000

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

1 Answer

·
Joerg Vogel avatar image
1 Like"
Joerg Vogel answered vincenzodm commented

You use the legacy conveyor with a classic transport tasksequence. The first task forces the transport to travel to the object. In your case he goes to the conveyor. You can pick the picklist option "Tasksequence Sequence Example 1" in the function Use Transport. Then you set the first inserttask source code line to be a comment.

treenode dispatcher = current.centerObjects[1]; // the dispatcher or task executer
treenode ts = createemptytasksequence(dispatcher,priority,preempt);

//inserttask(ts,TASKTYPE_TRAVEL,current,NULL);
inserttask(ts,TASKTYPE_LOAD,item,current,port);
inserttask(ts,TASKTYPE_BREAK,NULL,NULL);
inserttask(ts,TASKTYPE_TRAVEL, destination,NULL

Alternatively you can delete the first task of the tasksequence, when the transporter receives the transport task sequence.

ts.first.destroy()

· 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.

vincenzodm avatar image vincenzodm commented ·

thanks for solving the problem. In practice, by adopting the second alternative that you have proposed to me, it is as if I have imposed on the software not to consider (eliminate) the first activity to be performed. exact?

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

Yes, the code snippet deletes the first task of a tasksequences. The standard tasksequences consists of:

  • traveling to the load station,
  • loading the item at the station; typically it involves an offset travel task,
  • a break task to look for other transport tasksequences, if there is still capacity to load more items,
  • a travel task to the unload station,
  • and finally the unloading task, which is also an offset travel task.
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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