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
|
|||
|
|||
Unexpected program stop
Hi,
The program stop working at the same spot every time, and I can't debug the problem. I don't understand what caused it to just stop functioning. The max run time before stopping was 1135 . Any idea what could be the culprit. Thanks |
#2
|
||||
|
||||
Hi Simul,
please open your system console and have a look at your errors. Some referenced labels doesn't exist. The Simulation stops because you haven't left any events (Debug > Event List). Greetings Carsten |
The Following User Says Thank You to Carsten Seehafer For This Useful Post: | ||
George Serhan (01-26-2012) |
#3
|
||||
|
||||
But there aren't any events left because there is an error in your logic. On the separator you write: getrank(parnode(1))%2+2
so if you have 2 left the first goes to port 2 the last goes to port 1. But if port 2 needs this last box it will never get it. The same goes for the other separators, so I guess your model is in a deadlock situation. I changed your model by giving the pallets a different item type, make all sendtoport 0 and use the pull on both CM's and the Qu. As a condition on the QU you can say to only pull itemtype 1 Model is attached |
The Following User Says Thank You to Steven Hamoen For This Useful Post: | ||
George Serhan (01-26-2012) |
#4
|
|||
|
|||
If you check the 'ReevaluateSendTo...' option on the flow tab of the sp_part seperators it will work.
The system console message are about missing labels. But also, set your itemtypes in the source sequence table back to numeric - somehow they've changed to strings. |
The Following 4 Users Say Thank You to Jason Lightfoot For This Useful Post: | ||
Steven Hamoen (01-26-2012) |
#5
|
|||
|
|||
Thank you all for taking the time to respond back.
Jason, all my itemtypes in the source (Sr_Inbound_....) are set to numbers from 1 through 3. Is there a way to verify that they're set to numeric. Thanks |
#6
|
|||
|
|||
Visually, if the value is right justified it's numeric, left justified means text.
I don't think you can change it by assigning string to the table column , so right click the cell and choose "explore tree" and then select the node in the tree and hit the 'N' key to add numeric data. If that fails, duplicate the one that works or get a new one from the library. |
The Following User Says Thank You to Jason Lightfoot For This Useful Post: | ||
George Serhan (01-26-2012) |
Thread | Thread Starter | Forum | Replies | Last Post |
How to Interlinking between 2 flexsim program? | smin Jeon | Q&A | 3 | 07-11-2011 08:22 AM |
Stop a Transporter | Nischith Kashyap | Q&A | 1 | 02-24-2011 03:05 AM |
Screen won't refresh using stop and go | Steven Hamoen | Q&A | 2 | 08-20-2010 01:22 AM |
Stop product on conveyor | Derrick Serbonich | Q&A | 4 | 04-27-2009 03:28 PM |
Make sure you stop model with the stop button before collecting state based statistics | Paul Dowling | Tips and Tricks | 2 | 06-10-2008 08:10 AM |