question

Jacob G3 avatar image
0 Likes"
Jacob G3 asked Jacob G3 commented

Merging items in rack

I have a model, where once the items are placed in a rack in and once they reach a predetermined height (1.2m/3 grey or 4 red totes), they are removed again and put on a pallet (once there is enough for a full pallet = 4 stacks), but they are handled as one seperate unit and as such moved as one and combined on the pallet as one.


1636548216940.png


Can I merge/group items (similar to what the combiner is doing) in script? I dont need to seperate them again, so in theory I could probably destroy them and create a new object. Im just hoping there is a better way,

Totesorter_2.fsm

FlexSim 21.2.4
combinersmerge items
1636548216940.png (473.3 KiB)
totesorter-2.fsm (87.2 KiB)
· 5
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·

Here is an example for a queue stacking items together.

The code is in the On Entry trigger

Combine_items_by_code.fsm

0 Likes 0 ·
Jacob G3 avatar image Jacob G3 commented ·

Cool. As I understand it, you change the parent of the item you want to move into the item you want to move it into right?

I kinda got it working, joing all items in a slot to the first item

1636568995278.png

But wierd stuff happens. First of all, when the container item is moved from the slot, the boxes jumps all over the place. Secondly, the next item that enteres that same slot is placed in the top of the slot (I think its the position of the top most box that was just removed). Im clueless to why. Any ideas?

1636569290287.png

1636569356366.png

1636569409415.png

Totesorter_3.fsm

0 Likes 0 ·
1636568995278.png (19.7 KiB)
1636569290287.png (276.6 KiB)
1636569356366.png (232.5 KiB)
1636569409415.png (183.7 KiB)
totesorter-3.fsm (87.2 KiB)
Joerg Vogel avatar image Joerg Vogel Jacob G3 commented ·
A rack or the warehouse in general keeps storing the items in a slot you have assigned. You must set the assigned slot for each item leaving your warehouse to null. The storage systems thinks, that the combined items are still in the rack.
0 Likes 0 ·
Jacob G3 avatar image Jacob G3 Joerg Vogel commented ·
Fair. How do you null / destroy the storage items? I tried various methods with no luck on the OnSlotExit trigger.


Also any idea whats causing the boxes to change positions when being picked up?

0 Likes 0 ·
Show more comments

0 Answers

·

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.