question

Anivesh K avatar image
0 Likes"
Anivesh K asked Anivesh K commented

How to route a part between two consecutive stations in a line with some logic?

Attached Model : problem-model.fsm

Problem Description:

Suppose a part from source reaches at station 1, it will continue its task at station 1 until:

1) another part approaches station 1 from the source. In this case part will move to station 2 to complete its remaining task. And the part will complete its remaining task at station 2 move to sink via Queue.

"or"

2) if the task is completed at station 1 itself, part will go directly to sink via Queue.

Kindly suggest me better logic for this situation..!!

FlexSim 18.2.2
routing logicdistributed work
problem-model.fsm (41.2 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.

Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

This model is a partly result. There are some conditions that you must accept or change the logic. The items need more time to reach the station before you evaluate another waiting item at the restriction zone border. You can set a label at the station and evaluate it when an item arrive and let it directly pass the first station. This isn't inside of the model. The process time is dependend of a label value of the item and partly of the process time of the first station. The item is processed for the time another item witing at the photoeye to reach the station. After that short time the item is only stopped at the station 1 to be resumed when an item reaches the photoeye. Also there is missing a condition when an item at station 2 leaves that the item at station 1 resumes, too.

problem-model-jv.fsm


5 |100000

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

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Jeff Nordgren commented
@Anivesh K

Attached is your model with the changes that I've made. Basically, I added 2 labels to each part in the Source. Then, in station 1, if the Type of the part is a 1, that means that it completes it's "task" in station 1. If the part Type is 2, then it will move on to station 2 where it will complete processing.

I'm not sure if this is what you had in mind or not. If this is not what you were looking for then please give us a few more details of how it is supposed to work.

Thanks.

problem-model-jn1.fsm


problem-model-jn1.fsm (147.1 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.