AGV load trailer with batched item - deattach trailer - unload trailer

AGV load trailer with batched item - deattach trailer - unload trailer

andreas_boehmer
Contributor Contributor
15 Views
5 Replies
Message 1 of 6

AGV load trailer with batched item - deattach trailer - unload trailer

andreas_boehmer
Contributor
Contributor

[ FlexSim 21.0.2 ]

Hello,

in my model i create 2 trailers and attach them to a task executer. parralel in source 6 items where created. This items (token.item) will be batched in two batches (token.loadbatch).

the first problem is to load these batches to trailers. i get error messages like this:

time: 36.358016 exception: FlexScript exception: Invalid down cast. Object is not an instance of the target type. at MODEL:/Tools/FlowItemBin>packing/Simple c: MODEL:/Tote1 i: MODEL:/Tote1/1


second problem is after loading. my train drive to controlpoint and should deattach trailers (token.trailer). but after deattaching there ist only one trailer left.

the aim is to unload trailers with crane (TSlist) and pickup trailers when unload is finished.

TESTTrain5.fsm

0 Likes
Accepted solutions (1)
16 Views
5 Replies
Replies (5)
Message 2 of 6

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Andreas BH,

The problem was that the push to list activity pushed a token instead of an item. Also, the split activity wrote over the item label in your split activity.

I revamped your process flow to finish out the tasks you asked for. I utilized subflows in a few places to control the repetitive processes. It is a lot to completely recap, so please review the model and let me know what you have questions about.

Crane unloads AGV trailers.fsm

0 Likes
Message 3 of 6

andreas_boehmer
Contributor
Contributor

Hello @Jeanette F,

Thank you for your help. it works ver good. Until today i didn't worked with subflows (instead with repeating task sequences).

The only problem i have following: When the TE is shortly before the controlPoint both trailers are lined up. (picture 1)

39172-1.png

But after undettaching bith trailer are stacked.(picture 2)

39181-2.png

The crane unloads 6 items. When TE attached trailers again they are lined up, again.

39173-3.png

0 Likes
Message 4 of 6

Jeanette_Fullmer
Community Manager
Community Manager

Hello @Andreas BH,

I noticed the same thing, but I do not know how to prevent that. You could create a new question to see if someone else on the forum could help with that.

0 Likes
Message 5 of 6

andreas_boehmer
Contributor
Contributor

Hi @Jeanette F


i found the reason why the trailers are stacked after deattaching. If you deattach at first the first trailer, second trailer automatically fills the gap. Than they are stacked.

We have to deattach at first the second trailer. Than it works fine.

39657-2021-05-19-13-00-33-window.png

39663-2021-05-19-13-04-27-window.png

Message 6 of 6

Jeanette_Fullmer
Community Manager
Community Manager

Hello @Andreas BH,

Thank you for sharing this. That makes sense.

0 Likes