Phase Logic Modules and Failures

When you write code in the failure monitor of a Phase Logic Module to set FAIL_INDEX, you have a finite (255) set of values that the FAIL_INDEX can take on. To specify the possible values for FAIL_INDEX, the user must modify the phase_failures named set accordingly.

For a great user experience, I feel it would be a best practice to put the most detailed failed messages possible (in <20 characters or so) so the operator can know exactly what went wrong in executing the logic (i.e. pump 100XYZ failed to start). However, what happens if you fill up the phase_failures named set? I've tried to change the named set that FAIL_INDEX uses, but it does not seem possible. It would be tremendously useful to be able to have different named sets for each PLM so the failure messages can be neatly maintained and kept separate.

Is there some way to tell the FAIL_INDEX to reference a different named set than the default phase_failures?

  • Named set ('phase_failures') associated with parameter 'FAIL_INDEX' can not be replaced with another named set. But this Named set 'phase_failures' can be modified to add custom failure states.

    Normal practice used is:
    Parameter 'FAIL_INDEX' have default failure states. Failure state 'Fail Monitor Failure' is used as a generic failure state for device failure conditions and process failure conditions. A custom logic is used to concatenate failure message in a string parameter for HMI display purpose.