cycle

cycle

qq10100110
Not applicable
900 Views
6 Replies
Message 1 of 7

cycle

qq10100110
Not applicable

[ FlexSim 21.0.3 ]

Hello everyone, I have a question, please answer it

After running ten times, ROBOT will grab BOX X from Q5 to Q6 and then return to ROBOT to take Q5 BOX to Q1 without looprobot box.fsm

0 Likes
Accepted solutions (1)
901 Views
6 Replies
Replies (6)
Message 2 of 7

jason_lightfoot_adsk
Autodesk
Autodesk

You need to be more specific about what you are seeing and questioning.

At what simulaiton time does this occur? To what are you referring when you say "after running ten times"? The robot, the model, replications, ten items?

0 Likes
Message 3 of 7

qq10100110
Not applicable

Sorry, the starting point ROBOT1 grabs Q4 BOX to Q1 and the end Q5 BOX grabs Q6 for one time. After ten times, Q5BOX grabs Q6, and then ROBOT1 grabs Q5 and several boxes. After that, it will grab several boxes from Q5 to Q6.

0 Likes
Message 4 of 7

eric_m3
Not applicable
Accepted solution

Here's the model with some updates I made. First, I created a label on the item at the source called "Cycles" and set it to 0. When the box enters Queue2, the label is incremented by 1, meaning it will count up by one each time it enters that queue.

39844-1621981820365.png

At Queue5, I changed the 'send to port' to a conditional port, so if the "Cycles" label reaches 10, the item will move to Queue6.

39820-1621981854665.png

I also changed the Queue1 'input' to pull by round robin meaning the robot will switch between Queue4 and 5 each time instead of pulling several from the same Queue (this was happening because it was prioritizing them based on when they entered the queue).

39829-1621981874865.png

robot-box-em.fsm

Message 5 of 7

qq10100110
Not applicable

Thank you, but I found that I can’t catch Q6. I’m sorry to trouble you to take a look.

0 Likes
Message 6 of 7

eric_m3
Not applicable

The first box reaches Q6 at model time 17958. If you increase the inter arrival time of the source it will happen sooner

0 Likes
Message 7 of 7

qq10100110
Not applicable

thank you

0 Likes