ATTENTIONThis 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 |
#1
|
|||
|
|||
Pull Specific Flowitems from Rack using Message
Hi fellow simulators!
I am experimenting on a model, trying to pull flowitems from a rack to three different conveyors, based on a label. The object of the excecise is to send a message to a rack to release flowitems to a specific conveyor. If I assign the label on creation, it works as planned. So far so good, but I want to be able to use the Script window to send messages to release items. The way I am going about it is as follows: I set up the message trigger on the rack to
I then use the following code in the Script Window: Code:
treenode Rack = node("MAIN:/project/model/Rack2"); int Integer = duniform(1,3); sendmessage(Rack,Rack,Integer,0,0); However, the rack doesn't release any flowitems. Can anyone see where I went wrong? Any help would be greatly appreciated. |
#2
|
||||
|
||||
without looking at your model, do you use the releaseitem command?
|
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
Christian Norregaard (04-04-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
How to assign more than one physician to a specific bed? | Lionel Lim | FlexSim HC: Q&A | 2 | 02-10-2010 10:13 AM |
Call a specific operator | Michael Hartlieb | Q&A | 3 | 06-29-2009 09:04 AM |
make transporters cycle a specific path | bsantens | Q&A | 4 | 10-21-2008 08:08 AM |
Pull items out of a rack | BenjaminBuecklein | Q&A | 1 | 09-22-2008 03:59 AM |
Close A Specific Port | Joe Allen | Q&A | 2 | 09-11-2008 06:30 PM |