question

Maciej Kotlicki avatar image
0 Likes"
Maciej Kotlicki asked Maciej Kotlicki edited

Programming an operator and a multi level trolley [still need help]

How to make an operator put boxes on a multi level trolley (one that has several shelves) on a shelf? For example he starts from the bottom. Fills it with boxes until it's full and than starts with the second one etc. Additionally he makes a different animation depending on which shelf is he packing/unpacking. I know how to make animations, just don't know how to program this.

FlexSim 17.1.0
programming operator
· 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.

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

I'm not sure about the animations, but you could just have your "trolley" have several tote objects in it at the beginning, and load items not directly into the task executer or trolley itself but into the totes inside the trolley based on whatever loading criteria you have. You could edit the tote flow item's look as well if you wanted it to look more like a rack inside of a trolley. Would something like this work?

Alternatively you can look inside the pallet object in your flow item bin, and click on the packing method to get the code on how FlexSim stacks boxes on pallets. You could create a similar "packing method" on a pallet in your trolley, but edit it so that the z location of items would be based on whatever criteria you had. I'm not sure if this would work for your situation either though.

0 Likes 0 ·
Maciej Kotlicki avatar image Maciej Kotlicki Sam Stubbs ♦ commented ·

I guess I could edit the packing method and set z location. Could you help a little bit on that? I'm new when it comes to writing code.

When it comes to the animation I guess I could add the startanimation command. Just would have to somehow start the right animation depending on the z location.

0 Likes 0 ·

1 Answer

·
Blandine de Romémont avatar image
0 Likes"
Blandine de Romémont answered

I have made this example earlier operator-and-racks.fsm, but I did not do animation on it. Hope this helps for a start.


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.