question

Mason W avatar image
0 Likes"
Mason W asked Joerg Vogel answered

Unknown Error Code

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!

sample-model.fsm

FlexSim 18.0.3
error message
error-message.jpg (121.2 KiB)
sample-model.fsm (4.5 MiB)
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

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.

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel Sam Stubbs ♦ commented ·

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.

1 Like 1 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·

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 0 ·
Phil BoBo avatar image
1 Like"
Phil BoBo answered

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


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered

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.


5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.