question

Owen_liaw H avatar image
0 Likes"
Owen_liaw H asked Owen_liaw H commented

Position pack item in conveyor

Helo, may i know how to position the items (combined) in the middle of the conveyor, the figure below shown that the black item was set at the middle the conveyor. Second, may i know how to set the black item (x-size and z-size) is same with the brown item (i set few label by percentage)

1646241936767.png

PPP.fsm

FlexSim 22.0.1
combiner
1646241936767.png (154.7 KiB)
ppp.fsm (54.8 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.

1 Answer

Jeanette F avatar image
0 Likes"
Jeanette F answered Owen_liaw H commented

Hello @Owen_liaw H,

I set a trigger on the exit of the combiner to set the size of item.

1646259467075.png

The conveyor puts the item in the center of the conveyor. In this case the item is the black box because the brown box is contained within the black one.

ppp_JF.fsm


1646259467075.png (17.8 KiB)
ppp-jf.fsm (48.0 KiB)
· 3
5 |100000

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

Owen_liaw H avatar image Owen_liaw H commented ·

May i know what is subnodes [1] ?


0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ Owen_liaw H commented ·

Hello @Owen_liaw H,

The combiner packs the brown item within the black item. This makes the brown item a subnode of the black one. So the code references the black item (item), the brown item (subnode[1]), and the label on the brown item (Width or Thickness).

You can see what is considered a subnode of an object or flowitem when you inspect the tree.

1646339649555.png

1646339680488.png

For instance, Product in this case is the Black item and Box is the brown item.



0 Likes 0 ·
1646339649555.png (36.9 KiB)
1646339680488.png (7.9 KiB)
Owen_liaw H avatar image Owen_liaw H commented ·
Ty for help, i understood
0 Likes 0 ·