theautomationguy:
@ UKHeliBob, there is no input for the relay contacts to connect to.
@ Riva when the PE beam is broken the relay contacts change state until the beam is unbroken (for the use of a better word). Usually it is momentary as people & vehicles pass thru it, but occasionally a vehicle parks in front of it which means the contacts stay closed / open. I can't remember which way it is wired.
@ GoForSmoke you are onto it, but how do I go about doing that please?
What / who is BWD/ I googled it but came up with no results?
here is the concept.
is the beam broken ? no, add one second to the unbroken count. (make broken count 0, stop sounding horn )
if the count is 5 minutes, send a beep and re-set unbroken count to 0
//here is where a beep with delay would work well. no need to count and time the beep
is the beam broken ? yes ? add one second to the broken count count (make unbroken count 0 )
is the count 5 minutes ? then make broken count 5 minutes //stops from climbing, but will stay over 5 minutes
sound the horn
this would only ever see the beam break.
it would beep every 5 min with no break, and after a continuous break of 5 minutes, it would sound the horn.
blink without delay tells you how to count.