KevinEamon
Member
Hi guys
I'm new to the forum and structured text.
I'm just starting here - working on a traffic light system.
So I have created this piece of structured text, linked to a little animation on the operations screen:- (Using Unity Pro)
------------------------------------------------------------
Fb_Traffic_Timer(IN:=Button_4,PT:=T#10S);
IF Fb_Traffic_Timer.Q THEN
Light4_Red :=1;
ELSE
Light4_Red :=0;
END_IF;
----------------------------------------------
What I'd like to do instead is something like this:-
IF (Fb_Traffic_Timer.ET >= 5S) THEN...
I'm new to the forum and structured text.
I'm just starting here - working on a traffic light system.
So I have created this piece of structured text, linked to a little animation on the operations screen:- (Using Unity Pro)
------------------------------------------------------------
Fb_Traffic_Timer(IN:=Button_4,PT:=T#10S);
IF Fb_Traffic_Timer.Q THEN
Light4_Red :=1;
ELSE
Light4_Red :=0;
END_IF;
----------------------------------------------
What I'd like to do instead is something like this:-
IF (Fb_Traffic_Timer.ET >= 5S) THEN...