ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 09-13-2007
William Proctor William Proctor is offline
Flexsim User
 
Join Date: Aug 2007
Posts: 4
Downloads: 12
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
William Proctor is on a distinguished road
Default Pull Logic Dillema

I have a turntable that is pulling palletized loads from either a palletizer outfeed conveyor or a main conveyor line that is conveying pallets from other palletizers. I'm using the Pull command to determine which input port to use based upon a series of user-defined conditions.

My problem is that if none of the conditions on the Pull rule are met then I have to select a default port to use. Once this happens, then the model will no longer look at the conditions for pulling. I have looked as sending messages and opening and closing the ports to initiate the Pull logic (which didn't work) and finally noticed in the user-manual that the Pull logic will only execute once and ignores the opening and closing of ports.

Any suggestions out there on how I can solve this dillema in a simple way?
  #2  
Old 09-14-2007
William Proctor William Proctor is offline
Flexsim User
 
Join Date: Aug 2007
Posts: 4
Downloads: 12
Uploads: 0
Thanks: 2
Thanked 0 Times in 0 Posts
Rep Power: 0
William Proctor is on a distinguished road
Default I figured it out

It's OK now. I figured out a work-around. I default the port to zero (0) which essentially leaves all ports open. Then I close the output port to the conveyors coming into the turntable until they are ready to send pallets to the turnable. The Pull rule is unable to pull flowitems if the output port is closed, so "wah-lah".
  #3  
Old 09-14-2007
Brenton King's Avatar
Brenton King Brenton King is offline
Flexsim Technical Support
 
Join Date: Jul 2007
Posts: 44
Downloads: 60
Uploads: 5
Thanks: 10
Thanked 41 Times in 15 Posts
Rep Power: 271
Brenton King is a name known to allBrenton King is a name known to allBrenton King is a name known to allBrenton King is a name known to allBrenton King is a name known to allBrenton King is a name known to all
Default Better late than never...concept model

Bill,
I was working on this model for you but it looks like you figured it out. Maybe you could still find something useful in it though. I wanted to set up a situation in which the pull requirement would constantly be changing. So in this model I have a queue that is constantly filling up with 10 different item types. I have a table that keeps track of how many of each of the 10 items types are in the queue. The items will stay inside of the queue until you hit execute in the open script window in the bottom corner. When hit, the script window sends a message to the processor the runs some code to decide which item to pull from the queue. I have it pull the item type that is the most common in the queue. If there is a tie it pulls the first one it comes to. So, the reason this is cool, is because the numbers in the table are constantly switching but the pull requirement isn't fired until you hit Execute which sends a message to the queue to open it's output port and pull the item type shown in Processor's properties window under the ChosenItemtype Label. I hope this helps even though you already solved your issue.
Brenton
Flexsim Support
Attached Files
File Type: zip PullTheMostCommonItemtype.zip (60.4 KB, 384 views)



All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.