question

Paúl Alejandro R avatar image
0 Likes"
Paúl Alejandro R asked David Seo answered

Combiner assigning value to tote, for different item types

Hello everyone,

I have 4 sources feeding a combiner. One of them releases a Tote, and the other ones will release a diffetent type of raw material (type 1, 2, 3). I want the combiner to do the following:

  • It must combine according to the item type of the raw material that enters first. Lets say item type 1 enters first, so the combiner must grab 4 items. If item type 2 enters first, it should combine 8 items, and so on.
  • Next, it should assign the item type value to the tote, because I will use that information to determine which port the combination must go. I tried using using an OnExit trigger, to set the item type of the combination according to the first item that entered the tote (item.first.value), but this is not working because no value is assigned to the tote.

Is the logic I am trying to build even possible? What am I doing wrong? I am attaching a model of what I am trying to do. The model version I am using is 17.2.2.

itemtypetotote.fsm

Any help is appreciated,

Thanks!

Other (please specify)
Other
combineritem type
itemtypetotote.fsm (17.8 KiB)
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

David Seo avatar image
0 Likes"
David Seo answered

@Paúl Alejandro R

1) You can use the Unpdate Component List pick list menu in OnEntry trigger to change dynamically the quantity of the entered item accorging to the first entered item-type.

The menu need the global table and you should set the value of the quantity in the row or column cell. I am not sure your grabbing quantity means the mixed type total quantity or only one type total. Anyway you can control it to solve your issue.

The menu remark explains how to set the value of items to be combined.

2) You can set the item type value to the tote also in the OnEntry trigger. If you set the item.first.Type in the OnSetupFinish or OnProcessFinish trigger before 'Send To Port'. The OnExit event is triggered after 'Send To Port'. Yes. OnExit is the trigger last happened.

5 |100000

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