question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Claire Krupp commented

How to rotate an AGV when it is in an Elevator?

I am using AGV type shuttles in an ASRS model. The AGVs have to go into the elevators to load the pallet from a conveyor. I have copied the needed parts of the AGV Elevator Process Flow, and after much frustration it is all working now, except for one thing:

The shuttles need to maintain their orientation throughout. On the paths it is working fine:

1689271927989.png


But as soon as I move the shuttle into the Elevator it rotates, and I can't get it to rotate back again using PF. (it does rotate back when it re-enters the AGV network, but then the pallet orientation is wrong!)

1689271992616.png


I have the Rotate command in here:

1689272125087.png

But no matter what syntax I have tried for the Object, I get this error:

1689272188386.png


What syntax would work? Or is there another command for an AGV - even though it's not in the AGV Network at that moment?

ASRS_AGV_shuttles_elevator_rotate_CK.fsm

FlexSim 23.1.3
agv elevatoragv rotate
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
1 Like"
Felix Möhlmann answered Claire Krupp commented

Did you copy that activity from an AGV/Elevator Process Flow? In those the first line casts the first parameter (the instance object) as a Task Executer.

capture.png

In a general Process Flow the first parameter is the Process Flow itself which can't be cast as a TE and results in the error. If you change the variable to an object or treenode the activity should work again.


capture.png (1.3 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.

Claire Krupp avatar image Claire Krupp commented ·
That was it! Thanks @Felix Möhlmann
1 Like 1 ·
Claire Krupp avatar image Claire Krupp commented ·
I probably did - let me try one from the library instead....
0 Likes 0 ·

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.