Timer instructions
925
Part III FP Instructions
LD
ST
When programming with structured text, enter the following:
Alarm_Control( start:= Start_Contact ,
SV:= 10,
T=> Alarm_Relay_2 ,
EV=> Alarm_Control.EV );
(*The ON-delay time is 10s*)
Alarm_Relay_1:= Alarm_Control.EV <= 5 & Alarm_Control.EV <> 0;
(*Alarm_Relay_1 is set to TRUE after 5s*)
(*Alarm_Relay_1 is set to TRUE after 5s*)