I am having trouble using a Wait for Event in process flow where I am using an OnClear event for a photo eye. It seems that if this photo eye is already clear (on model reset) the token is not released from this wait for event. There is no such option such as on conveyor content change where you can "fire if initial value meets rule". I would think there would be something similar where if the photo eye is already clear it would release the token.
What is the wait for event looking for in regards to the photo eye? Is it looking at stat states such as 1 for clearing, 2 for clear, 3 for blocking and 4 for blocked?
If this wait for event is looking at the states, what state does a photo eye start out as on model reset? How could I code an initialization of the state = 2 for clear (I have a whole block of code that runs on model reset that I could add this to)?
Thanks!