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.

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:

  1. if (model().find("Combiner1").subnodes.length==1) {
  2. treenode newDest = current.outObjects[2];//Station 2
  3. Conveyor.sendItem(item, newDest);}
  4. 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.