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