Very simple conditional alarming case regarding PCSD V12 S_AI_120 Templet -
I want to conditionally disable the Lo Amps alarm when an external pump is STOPPED,and conversely enable the alarm if the pump is RUNNING.Also - When monitoring in Operate/runtime I prefer to see the alarm 'conditionally disabled', and not merely turned off/disabled.
Should I be targeting enable/disable at '/LO_ALM.ENAB' or at '/AI1/LO_ENAB.CV'?
IF '//HS-123/PV_D' = '_MTR2_PV:STOPPED' THEN '/LO_ALM.ENAB' := 0 ENDIF; IF '//HS-123/PV_D' != '_MTR2_PV:STOPPED' THEN '/LO_ALM.ENAB' := 1 ENDIF;
And, is this leaner/preferred?
IF '//HS-123/PV_D' = '_MTR2_PV:STOPPED' THEN '/LO_ALM.ENAB' := 0 ELSE '/LO_ALM.ENAB' := 1 ENDIF;
Recommendations are appreciated
Regards
In reply to Michael Krispin:
In reply to SimHogan:
Gareld Butler
In reply to John Rezabek: