Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
Toggle Output on Digital Input
#1
Hi,

I have a switch connected to INDP1 and 5VDC from LK3. I am trying to toggle output of out0 with button press. Is this possible? I can create events to set out0 to 0 or 1 depending on INPD1 0 or 1 logic, but I would like each logic change to change the state of out0 and latch it to that state until the button is pressed again.

Matt
Odpowiedz
#2
(01-14-2021, 01:05 PM)mspeke napisał(a): Hi,

I have a switch connected to INDP1 and 5VDC from LK3. I am trying to toggle output of out0 with button press. Is this possible? I can create events to set out0 to 0 or 1 depending on INPD1 0 or 1 logic, but I would like each logic change to change the state of out0 and latch it to that state until the button is pressed again.

Matt

In Inputs page, set INPD1 as Bistable work.
pozdrawiam
tomek
Odpowiedz
#3
Thanks.

That worked well.

Matt
Odpowiedz


Skocz do:


Użytkownicy przeglądający ten wątek: 1 gości