question

shanice.c avatar image
0 Likes"
shanice.c asked David Seo answered

How to adjust the flow item position on the carrier?

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

FlexSim 21.2.0
combinerflow item position
1633503869864.png (30.5 KiB)
cp-connection.fsm (375.7 KiB)
5 |100000

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

David Seo avatar image
0 Likes"
David Seo answered

@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


2021-10-08-103729.jpg (116.0 KiB)
stacking.png (130.3 KiB)
5 |100000

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

Ralf Gruber avatar image
0 Likes"
Ralf Gruber answered Ralf Gruber commented

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


cp-connection-rg.fsm (352.4 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.

shanice.c avatar image shanice.c commented ·

@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 0 ·
pick-product.fsm (54.6 KiB)
Ralf Gruber avatar image Ralf Gruber ♦ shanice.c commented ·
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 0 ·