question

Ankur A3 avatar image
0 Likes"
Ankur A3 asked Ankur A3 commented

Token is stuck while pulling item to collect load based on agv capacity (50)

I am building model to showcase AGV will pick items until accumulated weight is equal to or less than 50. To achieve it, I have created array where items will be added based on weight condition. But token id getting stuck while pulling items from list based on weight criteria. I don't know where I am going wrong.

Can anyone help me to resolve this issue?

[email protected]

FlexSim 22.0.0
agv loading based on weightlimit
stuck.fsm (50.6 KiB)
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 Ankur A3 commented

"token" is not defined inside the query. The way to reference a token (or other objects) in a Pull from List or Acquire activity is by using the "Puller" variable. In the Pull from List activity you can choose what "Puller" stands for in the respective option (by default it points to the token), in the Acquire activity it will always reference to the token.

Furthermore, "LIMIT" is an SQL keyword, so using it as a label name inside the query leads to an error.

stuck_1.fsm


stuck-1.fsm (48.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.

Ankur A3 avatar image Ankur A3 commented ·
Thank you Felix for fast & relevant response!
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.