From 098a3384ef54c7a107f3fd2d234e305bf3986713 Mon Sep 17 00:00:00 2001 From: Josue Zamudio Date: Fri, 7 Jun 2024 11:27:53 -0700 Subject: [PATCH 1/3] Fix: Update FB_VFS_2003Interface to update iq_stValve.xOPN_OK so that the VFS widget can update accordingly. --- .../Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU index d44e0ec..07d5dad 100644 --- a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU @@ -1,5 +1,5 @@  - + Date: Fri, 7 Jun 2024 11:44:58 -0700 Subject: [PATCH 2/3] revert File ProductionVersion --- .../Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU index 07d5dad..abc96b4 100644 --- a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU @@ -1,5 +1,5 @@  - + - \ No newline at end of file + From 673a4da659c116567a31004ebe433495d0ff5b6f Mon Sep 17 00:00:00 2001 From: Josue Zamudio Date: Fri, 7 Jun 2024 11:52:33 -0700 Subject: [PATCH 3/3] ran pre-commit --- .../Interfaces/FB_VFS_2OO3Interface.TcPOU | 202 +++++++++--------- 1 file changed, 101 insertions(+), 101 deletions(-) diff --git a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU index abc96b4..1563936 100644 --- a/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU +++ b/L2SIVacuum/POUs/Functions/Valves/Interfaces/FB_VFS_2OO3Interface.TcPOU @@ -1,90 +1,90 @@  - iq_stValve.eState THEN - CASE iq_stValve.eState OF - INVALID: - fbLogger(sMsg:='Valve invalid position.', eSevr:=TcEventSeverity.Critical); - MOVING: - fbLogger(sMsg:='Valve moving', eSevr:=TcEventSeverity.Warning); - OPEN: - fbLogger(sMsg:='Valve Open.', eSevr:=TcEventSeverity.Info); - CLOSED: - fbLogger(sMsg:='Valve closed.', eSevr:=TcEventSeverity.Info); - END_CASE - ePrevState := iq_stValve.eState; + CASE iq_stValve.eState OF + INVALID: + fbLogger(sMsg:='Valve invalid position.', eSevr:=TcEventSeverity.Critical); + MOVING: + fbLogger(sMsg:='Valve moving', eSevr:=TcEventSeverity.Warning); + OPEN: + fbLogger(sMsg:='Valve Open.', eSevr:=TcEventSeverity.Info); + CLOSED: + fbLogger(sMsg:='Valve closed.', eSevr:=TcEventSeverity.Info); + END_CASE + ePrevState := iq_stValve.eState; END_IF //Log valve timeouts @@ -201,7 +201,7 @@ iq_stValve.xOPN_OK := xOPN_OK; q_xVetoValveOpenDO := Veto_Valve.q_xOPN_DO; q_xVetoValveClosed := Veto_Valve.i_xClsLS; -//reset the commands +//reset the commands IF ( iq_stValve.i_xOpnLS) THEN iq_stValve.pv_xOPN_SW := FALSE; END_IF IF ( iq_stValve.i_xClsLS) THEN iq_stValve.xCLS_SW := FALSE; END_IF