12-27-2024, 07:09 PM
greetings,
I would like to do the followings
3 digital input and one digital output
the trouble that digital input 3 should be permissive low to activiate relay 1.
then I would the software while the relay 1 is activiated, to monitor digital input 3.
if it is remain high, keep relay 1
if it is switch to low , de activate relay 1
if ( digital input 1 == high and digital input 2 == high and digital input 3 == low ( this is will be permissive signal ) )
digital output 1 == high
if ( digital input 1 = low and digital input 2== low )
digital output 1 == low
if ( digital input 3 == low )
delay 1 minute
digital output 1 = low
I would like to do the followings
3 digital input and one digital output
the trouble that digital input 3 should be permissive low to activiate relay 1.
then I would the software while the relay 1 is activiated, to monitor digital input 3.
if it is remain high, keep relay 1
if it is switch to low , de activate relay 1
if ( digital input 1 == high and digital input 2 == high and digital input 3 == low ( this is will be permissive signal ) )
digital output 1 == high
if ( digital input 1 = low and digital input 2== low )
digital output 1 == low
if ( digital input 3 == low )
delay 1 minute
digital output 1 = low