Make loop for Increment Variable

Make loop for Increment Variable

abugat
Contributor Contributor
429 Views
1 Reply
Message 1 of 2

Make loop for Increment Variable

abugat
Contributor
Contributor

[ FlexSim 18.1.1 ]

Hello everyone.

Today, I don't know how make a loop in order to get new variables ( in GlobalTable ) in my token.

1st - My token takes all variables in the 1st row of my Global table

2nd - When my sink will have 5 input ( Value of Qty 1st row), my token will have new variables : all the second Row ans set all processtime of my all processor. Source2 open with another Itemflow with new qty

I don't know how to increment my variable only +1 for the row

Is it possible to make a loop at 1st "Get variable" ? with new variable

Thank you.

ex10.fsm

12839-12.png

0 Likes
Accepted solutions (1)
430 Views
1 Reply
Reply (1)
Message 2 of 2

david_c9
Not applicable
Accepted solution

Hi!!

you don't need to use a general process flow to increment the variable. you can define local labels in the source that increase the row of the table.

I attached a model that represents the solution at your question

I hope this will be usefull to you!

0 Likes