question

Fred E avatar image
0 Likes"
Fred E asked Fred E commented

Problem with labels

Hi!

Is there any other way to assign labels to event trigger sources?
In WT I create tote for products that must have the same labels. Till now I was using a token.processor to record on which processor the event happened and then looked up the value in the global table where I used the processor name as the row name. Now I have a problem because the processor can be duplicated in the production plan. Is there a way to look for something else instead of the processor's name? I was thinking about labelName which could never be duplicated.
Thank you in advance for your answers.

1656604519925.png

1656604683458.png


Thank you in advance for your answers.

My model: model20.fsm

FlexSim 21.2.4
labels
1656604519925.png (62.8 KiB)
1656604683458.png (29.1 KiB)
model20.fsm (35.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

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Fred E commented

You're in control of the labels on all objects so you can choose to have a label on the processor that is unique or have the processor label the item with something that says what the tote label should be. If it's for 1:1 matching purposes you could even label the item with a pointer to the tote and a label on the tote pointing to the item. The options are endless - you just need to decide how you want it represented.

· 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.

Fred E avatar image Fred E commented ·

Thank you for your answer. But anyway, can you suggest me the best way to match box label and tote label. Could you please show me on this example or suggest some tutorials.

The global table in my case will look like this:

1656654900228.png

model: model21.fsm


0 Likes 0 ·
1656654900228.png (25.8 KiB)
model21.fsm (37.2 KiB)
Felix Möhlmann avatar image Felix Möhlmann commented ·

To add to what Jason wrote:

If you later have a larger number of processors, you can add them to a group and have the event-triggered source listen to all objects in the group. That way you don't have to add an event for every processor.

1656656101331.png

The 'On Process Finish' event also has a reference to the involved item as a parameter. You can add that parameter to a label on the token by choosing 'assign' as the operation. You could then get the corresponding row in the global table by using the 'LoadType' label on the item.

1656656219340.png

If the LoadType is always equal to the row number, you could of course also use it as the row directly.

model20-fm.fsm

0 Likes 0 ·
1656656101331.png (36.0 KiB)
1656656219340.png (16.7 KiB)
model20-fm.fsm (35.2 KiB)
Fred E avatar image Fred E Felix Möhlmann commented ·

Felix Möhlmann this is all I need. Thank you for your answer. Best regards

0 Likes 0 ·

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.