Maximum and minimum value of a single parameter

Sir,

How to find the minimum and maximum value of a single parameter. Eg I need to find the min and max speed of machine for 8hrs. Thanks in advance

4 Replies

  • Can you clarify requirement more:

    Required minimum and maximum of a process variable in current shift (shift of 8 hours separated by time of day) ?
    or
    Required minimum and maximum of a process variable in 8 hours time slot back to current time ?
  • In reply to vmvmhatre:

    yes maximum and minimum value of single parameter every shift.
  • In reply to royalvnm:

     DTE block can be used to generate timed pulse at start of shift.

    Refer approximate code that can be put in action block that will calculate maximum and minimum value of input parameter.

    In addition, array parameters can be used to store maximum and minimum of previous shifts.

  • In reply to vmvmhatre:

    The DeltaV Continuous Historian provides Min Max values for specified time periods. A shift End Report from DeltaV Reporter can include Min Max values for all historized values, without adding Module code. The min max values are also available in the PHV history Trends.

    VMVMHATRE gives you a starting point to create this in your control module. You will need to add a couple of parameters to capture the values at end of shift and show them as "LastMax, LastMin" before you reset the Current Min/Max values at shift change. you could also build a separate module to monitor various values for Min Max and provide the results to a display for shift change. This would allow you to manage this data without downloading your running modules. you could also place this monitoring module in an App station rather than the controller, especially if you want to do many of them and controllers are already loaded.

    The Reporter can also give you averages and accumulations based on the history data. If you are using the Advanced Historian or Legacy Historian based on PI, the PIDatalink Addon for Excel can be used to retrieve this information as well.

    Andre Dicaire