Using a Time variable to set Output low after taking too much time

Hello,

i need a little help please.

I want to set a Output LOW by a Time Viable.

IF=Timer_1>30 set Output 6 LOW

The viable needs to be watched the whole time in background.

It is used as a Timeout when the Milling machine has a failure.

The output Low is used to send me a message to my phone using kind of GSM Module.

I would be really happy if someone has an idea to get this to work.

Thank you!

Have a nice Weekend!

This are my outputs.
Sorry, my polyscope is in German

grafik

I Think i got it.
Moved the “IF” to a Thread. Now it works.
grafik

1 Like