‎08-10-2007 03:24 PM
‎08-15-2007 01:37 AM
‎08-15-2007 07:32 AM
Ryan,
Actually, I only need to alarm on a negative rate of change. Specifically, when a water tank is falling to rapidly. I think I have come up with a way to do this using the "mid" text function. By setting the priority of the rate of change alarm outside the alarm filter range, this keeps the actual rate of change alarm from showing up in the alarm window. I created a second alarm with its priority within the alarm filter window with this expression;
(mid($Alarm.message,6,1)="-") and ($Alarm.tagname="\\bradct\Process1\Alarm1")
This looks for the 6th character in the ROC alarm, [ ROC (-) ] to be a minus sign and the alarm tagname to be for the correct alarm.
This gives me an alarm when the level is negative, but the positive ROC does not show in the alarm window. Do you see any flaws in this design or is there a more simplified way of obtianing this data? Would the derivative object work better? I have never used it.
Thanks
Brad Adams, Communications Group Inc.
‎08-15-2007 10:36 PM
‎08-16-2007 08:09 AM
Do you have an example of the derivative object that you could send? I was looking at it and not quite sure how to set the parameters. I am looking for tank level fall per hour. Such as, a tank that is 24 feet, if it falls 5 feet per hour, then alarm. Could you send sample code?
Thanks
‎08-16-2007 06:02 PM - edited ‎08-16-2007 06:02 PM
Message Edited by Mike@DTSI on 08-16-2007 06:02 PM