OSR, me, and my photoeyes

Addohm post #7:
Here is the logic I've already been using. It works great for the leading edge detection. [highlight]I need it to ignore the trailing edge detection.[/highlight]

He is only interested in the leading edge. He can add debounce timers if needed.
 
Last edited:
CWA, Those leading and trailing-edge comments confused me too. Usually that would refer to one or two photoeyses that are looking for the beginning or ending edge of a part. I don't think that is the situation here. Look at the pictures - the photoeyes are stacked one above the other. I think Addohm is talking about the fact that the PEs are not exactly in line, or may get knocked out of alignment due to flimsy supports. Then one of them randomly becomes the "lead" PE and the other lags in activation by some small time period. In this case leading and trailing seem not to be referring to a spot on the part, but instead to which PE is being activated first.

What I would like to know is why are there two PEs? Is it redundancy in case one fails (one detection out of two is good enough)? If so, then the logic again needs to be different - the two PEs in parallel (OR logic) as in Post #14 may be all that is needed to latch the Knock-Off relay. Maybe some parts are taller than others, and the top PE never activates, in which case the logic again has to be something else.
 
Last edited:
Lancie, I know. A picture of Parts not moving would clear up some questions or a diagram of Situation. I took it that he is trying to detect bad form not height. That's why I think he is looking at Leading Edge.
 
That's why I think he is looking at Leading Edge.
I think that would mean in this case to "only look at whichever PE gets triggered first (whether it be Bottom or Top or fluctuates between the two, and ignore the other one)". If that is true, then the logic is fairly simple.
 

Similar Topics

Hi all. Simple as simple can be, I don't understand what's happening. I'm toggling he OSR on, GX_LUB_PUMP1_LEAD should switch. It doesn't. The...
Replies
27
Views
675
Just wondering if i can make my code look a little nicer and sharing storage bits like below https://imgur.com/a/SMNxOPu does this work or does...
Replies
9
Views
1,585
Hello, I am having an issue with an OSR bit starting a rotary indexer. Running AB studio5000 on a 5069 L320ER v32.1 I have 13 inputs before an...
Replies
9
Views
2,370
We have a vendor that loves ONS logic. It does ok as long as things run as expected. Well we all no nothing runs as expected for very long. If the...
Replies
3
Views
1,345
I'm looking at an offline copy of a program that has these two rungs, in this order (see attachment). B3:16/3 is a OSR in the first rung and an...
Replies
9
Views
2,407
Back
Top Bottom