Cancel
Showing results for 
Search instead for 
Did you mean: 

Photoeye Blocked/Clear

Creator
Creator

Has anyone modeled a photoeye block/clear with a timeout value.  For example, the photoeye is considered blocked when the photoeye has been blocked for x amount of time or the photoeye is considered cleared when the photoeye has been cleared for x amount of time?

 

Thanks for your input,

Brian

1 REPLY

Re: Photoeye Blocked/Clear

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor
have a look at

&method.methCall(delay)
and wait

you can use a sensor for blocking:= true
if you dont need more commands in this method. you can use wait for wait a certain time and then unblock your photoeye
or you use a separate method for unblock (methCall with delay)
Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net