Set photoeye state

Set photoeye state

marian_cretu
Contributor Contributor
7 Views
1 Reply
Message 1 of 2

Set photoeye state

marian_cretu
Contributor
Contributor

[ FlexSim 20.0.0 ]

Hello guys,

Please help with this matter.

When a conveyor changes direction (speed -1) the photoeye doesn't change it's state from blocked to idle. Please advise.

Thank you.photocell-state.fsm

Accepted solutions (1)
8 Views
1 Reply
Reply (1)
Message 2 of 2

tanner_p
Not applicable
Accepted solution

Hi @Marian Cretu,

I don't know if this is a bug or just a problem with the way the change speed is used, but I found that by moving the decision point a small distance down the conveyor belt, the error you described no longer occurs. I've updated your model to reflect this.

photo-eye-change-state.fsm

My best guess is that the blocked photo eye is anticipating the back end of the object to pass through it, so when the conveyor is reversed and the front end passes through, it doesn't register that the item has left.