How to adjust the flow item position on the carrier?

How to adjust the flow item position on the carrier?

shanice_c
Not applicable
6 Views
4 Replies
Message 1 of 5

How to adjust the flow item position on the carrier?

shanice_c
Not applicable

[ FlexSim 21.2.0 ]

I'm using a custom carrier that looks like a single layer rack, I want this to be a rack that is used to carry product, and this carrier will be load by AGV. My problem is I use combiner to combine carrier and product, but could I adjust the position the product is put on my customized rack? Like the picture below, the product is put to the left hand side, bit I hope it could be in the middle.

1633503869864.png

CP connection.fsm

0 Likes
Accepted solutions (1)
7 Views
4 Replies
Replies (4)
Message 2 of 5

ralf_gruber
Collaborator
Collaborator

Fiona,

I have added a "On Process Finish" trigger to the combiner with the code to center the product on the carrier as an example how to do it. Also, the error message in your system console:

time: 0.000000 exception: FlexScript exception: Array index out of bounds at MODEL:/Queue4>variables/transportdispatcher

results of you asking for a transport connected to centerport one of Queue4, but there is no centerport connection.

cp-connection_RG.fsm

Good luck

0 Likes
Message 3 of 5

shanice_c
Not applicable

@Ralf Gruber Thank you for your help.

May I ask that the definition of "item", item always means flow item, but the carrier is a flow item as well. Is it because in the tree, carrier is higher than product.

What about when only need to pick the product on the carrier from a queue, just dispose of the carrier. For example, after unload to queue7, I want the overhead AGV only load the product, am I write "Model.find("Queue7").subnodes[2].

Because the model limitation, I have another example that robot is picking box and pallet to sink. But I hope only box is picked.pick product.fsm

0 Likes
Message 4 of 5

ralf_gruber
Collaborator
Collaborator
Fiona,

"item" is always defined in the header of a specific function. It can have different meanings at different triggers, e.g. for a Combiner:
In OnEntry "item" refers to the entering item which can be both, the pallet or the box.
In OnProcessFinish "item" refers the pallet for which the process time has passed.

If you do want your focus on something different than item, you will have to explain to FlexSim, where to find it. E.g. item.first refers to the first object on item like the box on the pallet in OnProcessFinish of the Combiner.

Take a look at the user manual and read the section on referencing.

Good luck

0 Likes
Message 5 of 5

support5CRPZ
Advocate
Advocate
Accepted solution

@Fiona C

The position of the sub node flow item (called Box) in the container (like your rack) can be controlled in 'Edit Packing Methods' easily.

The method can be found in the right top corner of the FlowItem Bin like captured image.

2021-10-08-103729.jpg

You can custom the packing method after the existing way to new one.

stacking.png

0 Likes