question

Oscar C13 avatar image
0 Likes"
Oscar C13 asked Steven Hamoen answered

Set a counter

Hello,
The intent of the model is to set a counter. That the operator has to move the item twice.
I have tried it with a global variable and with tracked variable. With a global variable, it is not modified.
With a tracked variable I don´t know how to configure the decide.
contador.fsm

FlexSim 21.2.1
processflowtracked variablesglobal variablescounter
contador.fsm (51.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.

José Antonio MD avatar image
0 Likes"
José Antonio MD answered

Hello @Oscar C13 ,


You can use "Variable" in process Flow to share information from different points.

If you want to do the same logic twice, you can do a loop compare values (or subflow).

1635938118506.png

I hope I have been helpful


1635938118506.png (67.0 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.

Steven Hamoen avatar image
0 Likes"
Steven Hamoen answered

@Oscar C13 you could also use a label on the operator, that you increase and decrease when needed.

5 |100000

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