diff --git a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT index 0a4c74a..5b915c3 100644 --- a/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT +++ b/L2SIVacuum/DUTs/Pumps/ST_PIP.TcDUT @@ -15,7 +15,13 @@ STRUCT '} xILKOk : BOOL; - + {attribute 'pytmc' := ' + pv: ERROR; + field: ZNAM FALSE ; + field: ONAM TRUE ; + io: i; + '} + xError : BOOL; {attribute 'pytmc' := ' pv: AT_VAC_SP; diff --git a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU index 9cbaece..7f1be51 100644 --- a/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU +++ b/L2SIVacuum/POUs/Functions/Pumps/FB_PIP_Gamma.TcPOU @@ -83,7 +83,7 @@ timer(IN:= NOT stPump.q_xHVEna_DO, PT:= T#1s); // TAW Experimental ion pump timeout tPumpStartTimeout(IN:=(NOT stPump.i_xHV_DI AND stPump.q_xHVEna_DO)); tTimeOutAction(CLK:=tPumpStartTimeout.Q); -IF tTimeOutAction.Q THEN fbLogger(sMsg:='Pump time out.', eSevr:=TcEventSeverity.Critical); END_IF +IF tTimeOutAction.Q THEN fbLogger(sMsg:='Pump time out.', eSevr:=TcEventSeverity.Critical); END_IF @@ -209,6 +209,8 @@ q_IG.sPath := This^.stPump.sPath; - + + + +