question

Ryosuke S avatar image
1 Like"
Ryosuke S asked Ryosuke S commented

Flowitem on the agv disappears unexpectedly

I have set controlpoint at every corner, and I have set the agv to stop at those point by setting waypoints 'wait for defined delay time'. When agv convey flowitem from queue1 to queue2, when agv arrive at the cp marked '1', the flowitem disappear. But then when agv arrive at cp marked '2' the flowitem appear again. What is causing this?

capture032.jpgtest.fsm

FlexSim 21.0.6
agvcontrolpointdelaytimewaypoint
capture032.jpg (166.4 KiB)
test.fsm (110.1 KiB)
· 2
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

There is more than only your flowitem disappearing. The involved token gets moved, too and as a result the AGV is not acquired anymore. There is something wrong with the internal logic, when you delay an AGV in combination with process flow, because the token in process flow does not know, what happens next if an external event delays the process flow. Obviously the token must be preempted and in an invisible process be delayed. And after finishing this invisible process the token must be reinstated back into the preempted process activity. That is not easy, because there are other interrupting processes like timetables or MTBF/MTTR tools, too.

I inserted a control process to keep track of tokens in the process. I assign colors to tokens and create a copy to push the token reference onto a list. By this I can keep a connection to the parent token. You will see that after returning, they don't apply to the task activity option to wait until complete. The tokens still reach the sink activity. What you have interpreted as a returning of an invisible gone item is infact a new transported item. The transported item is teleported into the destination queue. test_agv_waypoint_delay_Procees_flow_ts.fsm

0 Likes 0 ·
Eric M avatar image Eric M commented ·

Hi @Ryosuke S, was my answer helpful? If so, please click the red "Accept" button at the bottom of the answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Eric M avatar image
1 Like"
Eric M answered Ryosuke S commented

Hi @Ryosuke S Joerg is correct in that the token is continuing through the task sequence when the AGV is interrupted by the waypoint logic. Here's some info from the manual: "going forward we advise you to use process flow instead of Way Points for AGV control."

I added some process flow to your logic that will create a token when the AGV pre-arrives at the group I created called "Waypoints." The key here is creating a new task sequence with a higher priority than the original. Changing the preemption to "preempt only" will make it so the AGV will preempt its original task to delay, and then continue where it left off in the original task.

test1-em.fsm


test1-em.fsm (46.9 KiB)
· 1
5 |100000

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

Ryosuke S avatar image Ryosuke S commented ·
@Eric M Thank you for your support. I thought I already thanked you. Sorry.
1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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