question

chao.g avatar image
2 Likes"
chao.g asked chao.g commented

Flow Item Placement in Queue

item-place-in-queue.fsmIn the attached model, I am having one conveyor to feed 4 queues, there are 4 decision points, at each decision point, using process flow, I am listening item arrival, on arrival, if queue is available, I want to move the item to the queue and have the item align with the queue(Visual)

Using move object activity, I can move item to the queue, however, item placement is not ideal, then I added change visual command, in the change visual command, I can rotate, but I am having trouble to use xloc, xcenter etc. commands to set the location of item to align with the queue, it seems once item moved into the queue, those command doesn't work any more, always end up in the same location.

If i directly change visual once the item arrives at the decision point, the command is not moving item at all.

Please suggest.

Thanks,

FlexSim 16.2.0
item visual in queue
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

Matt Long avatar image
4 Likes"
Matt Long answered chao.g commented

The reason your setloc commands are having no effect is because the Queue is being told to do it's own stacking/placement of flowitems that are inside it. This can be controlled in the Queue's properties window under the Queue Tab, Visual.

If you want complete control, set the Item Placement to Do Nothing, then you can position the items as desired. However, for your model, you probably want to set the Item Placement to Stack Vertically. You can then remove your Set Location on the Change Visual activity. You'll still need to keep the Set Rotation. That should do it for you.


itemplacement.png (34.6 KiB)
· 1
5 |100000

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

chao.g avatar image chao.g commented ·

great, It works perfect, thanks!

0 Likes 0 ·