question

michela-08 avatar image
0 Likes"
michela-08 asked michela-08 commented

Using process flow to update labels

Hi,

I want to update part names of parts after each process finish of the each station in my model based on variant and station reading it from global table. How to achieve this using process flow. The model I am uploading is small and not complex, but I have a complex model with around 20 machines and in each station I have to update the part name once the part enters.

The logic I am trying is to update part names as given in the "Part_Name updation" global table based on variant and station

Please help me with this, how can I update part names based on the variant and station?

Model1.fsm

FlexSim 22.2.3
process flowprocessorpart name
model1.fsm (29.7 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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered michela-08 commented

You could add all machines to a group and react to items entering any of them in an Event Triggered Source. There you can assign the item and the respective machine to labels on the token.

This information can then be used to find the new name and assign it. In the attached model I use an SQL query for this. To find a matching row based on a single column, you could use the "Table().getRowByKey()" command. But since there are two (Variant and Station), SQL is the easier solution.

PartNameUpdate.fsm


partnameupdate.fsm (33.8 KiB)
· 1
5 |100000

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

michela-08 avatar image michela-08 commented ·
Thank you @Felix Möhlmann
0 Likes 0 ·