question

kl avatar image
0 Likes"
kl asked Jeanette F commented

AGV not working properly in process flow

hi~I am currently working on a model that is using 2 AMR to send items from designated place to another designated place at a fixed time (I used a global table to do so). In my process flow, I used the split activity, the left side is for agv1 and the right side is for agv2.

After I run my model now, it will show this error message:

1696789379764.png

my amr2 can not move after loading item, but in the process flow I see the token is correctly labeled.

1696789531340.png

I have no idea about the error appearing now, hope to get some suggestions~ thanks!

this is my model: 1009_two_car.fsm

FlexSim 18.0.10
agvlabelsprocesss flow
1696789379764.png (12.7 KiB)
1696789531340.png (88.7 KiB)
1009-two-car.fsm (49.6 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @kl, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

You should fix your exceptions before posting the model if you can. They may be telling you what the problem is:

time: 115.415509 exception: FlexScript exception: Retrieving from2 label property on node that does not exist at MODEL:/Tools/ProcessFlow/ProcessFlow/Load~2>variables/involved2
time: 115.415509 exception: FlexScript exception: Retrieving to2 label property on node that does not exist at MODEL:/Tools/ProcessFlow/ProcessFlow/Travel~4>variables/involved1

In this case you're trying to reference the first token's labels but you've deleted it with the left sink. Since you copied the labels why don't you just access them directly?

token.to2
token.from2
5 |100000

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

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.