question

Michael Jung avatar image
0 Likes"
Michael Jung asked Andrew O commented

conveyor control

conveyor controle test.fsm If product is stuck on the priority conveyor, you want the product to be transferred to an empty conveyor. I tried using photoeye to open/close the input port of the conveyor, but it didn't work. I need help.

Thanks in advance.

FlexSim 23.0.3
conveyor
· 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.

Long G avatar image Long G commented ·

I met the same question before, i think if you decide where item go first ,it may still get stuck on the other way or be empty when using conveyor system.Pull strategy may be better.Using Processor with shape changed instead of conveyor piece is another choice.

0 Likes 0 ·
Andrew O avatar image Andrew O commented ·

Hi @Michael Jung, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

There are many ways to do this and it depends how sophisticated and exact you want it to be.

You can get some way by simply routing based on the state of the photoeye with an expression like this :

current.pe.stats.state(PE_STATE_PROFILE).value==PE_STATE_BLOCKED

where the DP has a pointer label called 'pe' which is pointing the the photoeye (set it using the sampler).

Anything more sophisticated I would probably put into a process flow for easy tracking of events and counters and control of the flowitems.

5 |100000

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