question

jing.c avatar image
1 Like"
jing.c asked jing.c commented

Calculate the distance of item in the conveyor

Hi, everyone.

How to calculate the distance of every item travel in my MergeSort Conveyor.

I had planned to calculate the time of item stay in conveyor, and then get the distance by multipled the speed of conveyor. While the item would be blocked during its conveying, this approach can not get the right distance.

For example: In the attached model how can I calculate the distance of each item travel in the conveyor?

calculate-conveyor-demov17.fsm

Did anyone have a good idea to solve it?

FlexSim 17.2.5
conveyordistance along conveyor
5 |100000

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

Joerg Vogel avatar image
2 Likes"
Joerg Vogel answered jing.c commented

Since Version 17.2.5. there exists the property "totalDistance" for the class Conveyor.Item. If you place a photo eye right before the exit Transfer you can get the Totaldistance of every item leaving the conveyor system. In the Decision Point you assert a label to the item to distinguish which item leaves next. calculate-conveyor-item-distance.fsm


· 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.

jing.c avatar image jing.c commented ·

Yes! Thanks! That is exactly what I want.

And I found the command which can be used in below V17.2:

conveyorinfo(obj conveyor,CONV_INFO_ITEM_TRAVEL_POS,obj item); //the "conveyor" is where the item stay in.

0 Likes 0 ·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered jing.c commented
@jing.chen

This may be too simple but isn't it just the X position of the flowitem? Doesn't that give you the distance that the flowitem has traveled on any particular conveyor?

· 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.

jing.c avatar image jing.c commented ·

Thanks for your answer.

But I not quite understand what your mean. I attached a demo model which the item will come from different entries and it may not leave the conveyor when it meets the exitTransfer.

calculate-conveyor-demov17.fsm

How can I calculate the distance of each item travel in the conveyor?

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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