question

Rob avatar image
0 Likes"
Rob asked Arun Kr answered

Get itemtype from input at combiner

Hi everyone,

I have a combiner which combines a pallet with one box. Then these pallet get to a conveyor with stations. At the end the boxes are separated from the pallet. The pallet goes back to a queue and then again to the combiner. The boxes are going to a sink.

My problem is, that the box contains an itemtype (1,2,3). The process time at the stations are defined by case and item type. So I need that the pallet get the item type from the box on the combiner. I tried it with the on exit trigger with getitemtype but it doesn't work. How can I reference to the input 2?

Rob

FlexSim 17.0.0
combiner itemtype
5 |100000

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

1 Answer

Arun Kr avatar image
1 Like"
Arun Kr answered

Hi @Rob

In the on exit trigger of the combiner you can try this.

int Type = getitemtype(item.first);//item.first is the reference to the box
setitemtype(item,Type);//item refers to pallet

Regards,

Arun KR

5 |100000

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