question

Stéphane Jaubert avatar image
0 Likes"
Stéphane Jaubert asked Stéphane Jaubert commented

Set the "Target quantity" of a combiner as a global parameter

In the attached template, I'd like the target quantity to be a parameter in the Combiner1 properties, so that I can change it easily. I can't do it, it won't accept that I set "Model.parameters.quantity_tote".


prélèvement_pieces.fsm

FlexSim 24.1.0
combinerparameters
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 Stéphane Jaubert commented

You can use the onSet of the parameter to set the targetcomponentsum variable and the target quantity of each port.

Take a look at the entry trigger's option to update the component list for the syntax you need to use. Unfortunately these are not object properties that would allow you to use setProperty().

· 4
5 |100000

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