Hi,
I have a code C+ in my conveyor and I would like understand it to correct it
Thank you for your help!
Hi,
I have a code C+ in my conveyor and I would like understand it to correct it
Thank you for your help!
I join you my model:
Can you be more specific about what your question is? The code looks pretty well documented already.
My problem is : When I put "Run Speed" in max, the conveyor 2 didn't have gearbox , so I think that there is anything to modify in the code c+?
The first potential issue I see is that there's an entry transfer in between Conveyor1 and Conveyor 3. I'm thinking that entry transfer should probably be at the other end of Conveyor1.
Looking at your model, on reset BasicFR1 closes all of hte separators output ports. Then randomly opens a port for a separator which then sends its container to a Queue and items to EntryTransfer741. Then their output is closed and waits for BasicFR1 to open their ports again to release the next set of items. Now with that understanding, looking at your code to pick a random output makes a little more sense.
In order to debug, I added the following code to line 33:
pf(time());pt(": ");pt(nodetopath(itemOfQueue, 1));pr();
The last entry it gives is:
839282.357539: MODEL:/Separator60
Looking at Separator60 you can see that there is a pallet sitting on it, but no gear boxes. If I continue to run the model, no gear boxes are ever added to Separator60. The pallet is stuck on the Separator because the Queue it's supposed to be sending the pallets (or containers) to has a max content of 1. Your AGV is never picking the pallet up. This appears to be because Rack47 has reached its max content of 2 because it can't send items out because its downstream object Videmoteur has reached its max content of 1000.
Basically your model has jammed up because all of your objects have reached their max contents and have no way of clearing out their contents.
Thank you; I added the code in line 33, and it start.
But I have a similar problem in Basic FR2 but If I added the same code, it doesn't start.
I join my model
Thank you for your help
Code seems to be firing just fine in BasicFR2. If you add a pt("BasicFR2 "); to the beginning of line 33 that'll help you distinguish between the two.
No because if I wait about 15000 seconds , there aren't any things in a conveyor...
I have put a sink after the empty queue but it doesn't change my problem.
4 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved