question

Doris C avatar image
0 Likes"
Doris C asked Doris C commented

The modified process flow is not working.

hello.

I needed to make some changes in the content and tried to do so, but it didn't go the way I thought it would.

First of all, the existing control looks like the picture below.

스크린샷-2024-04-12-161832.png

When controlled as shown in the picture, it is a repeating control with 2 AGVs passing first at CP26, then 2 AGVs passing at CP45, then 2 AGVs passing at CP26 again.

Now, here's what I want to modify

After 2 AGVs pass from CP26, the 2 AGVs arriving from CP45 move to CP36, and the next 2 AGVs arriving from CP45 move to CP62.

The important thing to note here is that when moving from CP45 to CP62, the

AGVs that arrive at CP26 should not move from CP26.

So I modified the process flow as shown in the picture below. But it didn't run the way I wanted it to.

스크린샷-2024-04-12-161314.png

I would appreciate it if you could share the file that I corrected and the explanation through the picture.

PROSESSFLOW-TEST.fsm

FlexSim 24.0.2
agvtokensprocesss flow
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 Doris C commented

The system needs to be 'initialized' correctly. You have task executers working in two loops. I will refer to those loops by the color of item that is transported, so there is the long "blue" loop and the short "brown" loop.

There are four task executers working the brown loop. If those all end up in a line behind each other, your logic will break, since it will let two of them use the intersection and then wait for TEs from the blue loop that want to return, but the next two TEs are also from the brown loop.

So you have to ensure that the first two TEs of the brown loop to not use the intersection until another pair from the blue loop have slotted in between.

1712912562255.png

One of two things needs to happen:

- Either the two TEs marked in bleu have to slot inbetween the TEs marked with orange and the TE marked in pink.

- Or the orange TEs must not start to work until the blue ones have passed their position.

I modified your model to adhere to the first case. The token, that lets TEs enter the intersection, first waits until two TEs from the brown loop have started to work, then lets two from the blue loop pass, waits again until the other two of the brown loop start moving and finally lets two more TEs from blue loop enter. Only at this point does the Process Flow loop start, since the TEs are now in the correct order.

1712912910305.png

prosessflow-test-fm.fsm


1712912562255.png (111.3 KiB)
1712912910305.png (17.4 KiB)
· 3
5 |100000

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

Doris C avatar image Doris C commented ·


thank you for your kind reply

but, the two blue agvs should not be overlapped as shown in the picture.

In other words, TE6 should not be crossing the red line if TE16 is crossing the red line first, as shown in the picture.

스크린샷-2024-04-12-182531.png

In other words, TE6 should not be crossing the red line if TE16 is crossing the red line first, as shown in the picture.


Here's how you want to control it at that location.


Move from No. 1 to Blue AGV 2 to No. 2 → Move to Brown AGV 2 from No. 3 → Move to Blue AGV 4 from No. 3


If the blue TE is moving from 1 to 2, the blue TE that wants to move from 3 to 4 must move from position 3 to position 4 after both of the two TEs in position 1 move to position 2. Also, if there is a blue TE moving from 3 to 4, the blue TE located in position 1 must also stop.

스크린샷-2024-04-12-183150.png


0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann Doris C commented ·

Add a Wait for Event activity, so the next AGVs are not released until the respective CP has been deallocated (passed by the other AGV).

1712916234131.png

0 Likes 0 ·
1712916234131.png (40.5 KiB)
Doris C avatar image Doris C Felix Möhlmann commented ·

Thank you so much, and I've solved your problem thanks to you.

0 Likes 0 ·