Unknown Error Code

Unknown Error Code

mason_w
Not applicable
22 Views
5 Replies
Message 1 of 6

Unknown Error Code

mason_w
Not applicable

[ FlexSim 18.0.3 ]

Hi all,

I'm receiving the below error message, and I don't know what it's referring to. I'm new to FlexSim, so hopefully someone can push me in the right direction. Attached is a sample model...the error is refers to something around Packer6 it seems.

Thanks in advance!

11784-error-message.jpgsample-model.fsm

0 Likes
Accepted solutions (1)
23 Views
5 Replies
Replies (5)
Message 2 of 6

sam_stubbsYXX86
Community Manager
Community Manager

So for whatever reason, it looks like your Combiner, "Station2" gets to a point in the model at around time 109.4 where the combiner is trying to pack an item that doesn't exist on the combiner into Tote1. I'm unfamiliar with the logic of your model, so I'm not sure what is happening during the loading/packing/and unloading from and to Station 2 at this time.

Here's a link on answers that can help us debug this situation.

https://answers.flexsim.com/questions/42525/profiling-the-task-sequence-error.html

Using this info about your model, do you know if there is logic in your model that would be affecting the item that is supposed to be loaded into this combiner, and why it wouldn't be present for the combining process.

0 Likes
Message 3 of 6

sam_stubbsYXX86
Community Manager
Community Manager

UPDATE: Looking at your model further, it looks like this may be an error in the program when loading items from a conveyor directly into the combiner in "Join" mode. I've let the developers know, and they are looking into the error.

Message 4 of 6

philboboADSK
Autodesk
Autodesk
Accepted solution

Yes, this is a bug. I'll add an issue to the dev list to look into fixing this.

In the meantime, you can work around it by using Queues between your conveyors and the Station 2 combiner. I've modified your model accordingly to show you an example of how you could do this.

sample-model-pb1.fsm



Phil BoBo
Sr. Manager, Software Development
Message 5 of 6

joerg_vogel_HsH
Mentor
Mentor

I tested the model, too. The error message occurs only at the first run after loading the model. After reseting and a second run start the error messages doesn't occurs anymore.

Message 6 of 6

joerg_vogel_HsH
Mentor
Mentor

I deleted the Station 2 (Combiner) and dragged a combiner from the library into the model. I reconnected the objects. And surprisingly the model behaves correctly or in other words the error doesn't occur anymore.

The DP60 contains a weird logic, which sends the items on the above conveyor to the Station 1 or 2. Frist all items are send to the outobject at port 1. Then at the second condition the items are sent to outobject at port 2 if the content of the Station 2 is exactly 1. In my opinion there is a custom code necessary:

if (model().find("Combiner1").subnodes.length==1) { 
   treenode newDest = current.outObjects[2];//Station 2     
   Conveyor.sendItem(item, newDest);}   
else Conveyor.sendItem(item,current.outObjects[1]);}//Station 1

I used instead of the content or the statistical content property, the subnodes.length property.

The standard picklist option doesn't contain a structure like if .. then .. else .. there is just the combination of two conditions possible. Then it is important to set them in the right order.

Additionaly there should be a logic that lets pass only one item to the Station 2, if the combiner contains the tote. Otherwise there builds up a queue of items on the above conveyor in front of the second exit transfer and only sometimes the condition of DP60 becomes false, so the Station 1 receives items again.