CV from CTU use

Circiter

Member
Join Date
Oct 2023
Location
Belgium
Posts
23
Hi,

I need to use my CV value from my CTU.

if CV = 1 : Red light turns ons
if CV = 2 : Green light turns ons, but red goed out
if CV = 3 : Orange light comes one, but red and green go out.

any idea how I can create this in my DB? I guess i need to make a struct with my CV value 1 to 3 and then according to this create my bool's or am I wrong?
 

Similar Topics

Hi, I am confused regarding TIA portal and counters. I use CTU. I wish to have one counter counting 0-10. When it reaches 10 is shall increase...
Replies
23
Views
3,189
I haven't come across this before. I am trying to understand why the counter doesn't reset to 0, when the .dn is true? It immediately puts a 1 in...
Replies
18
Views
4,590
This counter is counting when bits_from_traypacker is true (messaging from other machine, this is the servo cycle). After counting 3 it should...
Replies
8
Views
3,287
For a week now, my coworker and I have been troubleshooting a machine which has been displaying some crazy behavior. HMI values were changing on...
Replies
19
Views
4,267
Hi all I have a simple timing sequence ive been playing with, question is, i cant get my /DN bits to cause a transition for the CTU. Am i...
Replies
10
Views
2,712
Back
Top Bottom