question

Xu Chunqi avatar image
0 Likes"
Xu Chunqi asked Xu Chunqi commented

AGV Elevator PF module

agvelevator.fsmWhen using the AGV Elevator PF module to create a model, it will exit after clicking on Run Button.

The version is 17.2.2.

thanks for ur help.

FlexSim (other - please specify)
FlexSim (other)
pf
agvelevator.fsm (56.7 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.

Xu Chunqi avatar image Xu Chunqi commented ·

p.s The model run well in version 16.1 , but end unplanned in other version like 17.2.2

0 Likes 0 ·

1 Answer

Phil BoBo avatar image
0 Likes"
Phil BoBo answered Xu Chunqi commented

Attached is your sample model with some updates to the template to fix the bugs you are seeing. I'll add a case to the dev list to fix these template bugs in an upcoming release.

What I fixed:

1. Change "Create Redirect CP Pre-Arrival Listeners" activity so that it creates the token as Child Tokens instead of Independent Tokens so that they can access the parent token's labels:

2. Change "Make Elevator Available" activity so that it uses token.group as the Partition ID:

3. The Conditional Value picklist needs to be updated. The old version evaluates both the true and false possibilities before checking the condition. The new version doesn't evaluate the false possibility when the condition is true:

4. Two of your paths were backwards. Click the path and press the Change Direction button in Quick Properties:


1.png (35.3 KiB)
2.png (54.2 KiB)
4.png (43.2 KiB)
3.png (75.9 KiB)
agvelevator-pb1.fsm (57.2 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.

Xu Chunqi avatar image Xu Chunqi commented ·

Dear Bob, thank u very much

0 Likes 0 ·