Adding a delay to BAD_ACTIVE for alarm

I have a number of modules with BAD_ACTIVE alarms that chatter. I want to add an "on delay" using an OND block and switch the alarm from BAD_ACTIVE to the OUT_D of the delay block. But it doesn't appear that BAD_ACTIVE is Boolean. Does anyone have any thoughts about how I might apply a delay like this to BAD_ACTIVE? It doesn't appear that direct-wiring BAD_ACTIVE (e.g., using an "internal reference") is going to work - or will it?

2 Replies

  • John,

    Your method should work but I would just add a condition block with the expression '^/BAD_ACTIVE.CV' = TRUE, configure the TIME_DURATION parameter on the condition block to the amount of delay you want and then change the module alarm to use the OUT_D parameter of this condition block instead of BAD_ACTIVE.
  • You can either use an Internal Read Parameter with an Internal Reference to the BAD_ACTIVE parameter and feed that to the OND functionblock, or use a CND block with expression '^/BAD_ACTIVE.CV' = TRUE and set the TIME_DURATION.

    (BAD_ACTIVE is a boolean type parameter.)