Task sequence unload

Task sequence unload

mohamed_farhoud1
Not applicable
13 Views
3 Replies
Message 1 of 4

Task sequence unload

mohamed_farhoud1
Not applicable

[ FlexSim 16.1.0 ]

Hi, I have the following situation: I added my TS in Rack6's Flow properties. I managed to pick up the blue and Aqua Item types (As needed). I want to add a code to tell the Forklift to unload the blue and Aqua at the Queue. Every time I activate the Travel and Unload tasks " 2 lines in the end of the mentioned code" it messes up the whole logic.

My thinking out of the trial and error is: I should replace the "Involved1" which is "Item" in this case to something that would only point to blue and Aqua. I have no clue how to do it though.

inserttask(ts,TASKTYPE_UNLOAD,item (should be changed), destination,opipno(current,port));

Thanks- Mohamed

(Question related to another here)

0 Likes
Accepted solutions (1)
14 Views
3 Replies
Replies (3)
Message 2 of 4

sam_stubbsYXX86
Community Manager
Community Manager
Accepted solution

Hey Mohammed I think I managed to accomplish what you were trying to do. First, instead of calling tasksequence logic in the Use Operator field, I created a Global ItemList in the global tools (with the default fields such as itemType etc). Then I just had the rack push out going items to the list. I had the Queue then pull items from the list, and added a query to the pull designating which items I wanted. Finally I set the Transporter's capacity to 2 so that it could carry both items at a time. I've included an updated version of your model for you to look at. mohamedfarhoudexample.fsm

Message 3 of 4

mohamed_farhoud1
Not applicable

Hello @Sam Stubbs This is very neat and elegant. Very well understood. Thanks a lot.

0 Likes
Message 4 of 4

pawel_pawlewski
Not applicable

Hello @Sam Stubbs & @Mohamed Farhoud

Sorry - but it is not neat and elegant from my point of view. Mohammed started to learn a little about Agent Base Simulation ABS and his first task to do was to add a little inteligence to the Operator - now the control is outside Operator in Global Item List so this is not propare way. I will meet Mohammed and I will explain him again his goal 🙂

@Pawel Pawlewski

0 Likes