Show Disabled Transition

Hi All,

We allow operators to disable transitions.  I'm looking for a solution to show "disables transitions" within e.g. the Batch Banner. Is it possible to check for those somehow?

Thanks in advance!

All the best,

Manuel

5 Replies

  • The module level MSTATUS option bitstring parameter bit 0 indicates Component Disabled. I'm not aware of any built in place that aggregates those flags from multiple modules other than the view in diagnostics of a controller. to make it more apparent, MSTATUS _MASK can be configured so this condition causes BAD_ACTIVE to be set causing the module to show with bad status in deltav diagnostics. I don't know how your modules may be using these parameters now, so you'll have to determine how that impacts the operator alarms/environment.

    You could also add a module with logic to monitor many modules MSTATUS parameter and provide an indication on the operator interface.
  • The MSTATUS option bitstring of a unit module will indicate if one or more transitions are disabled in a phase (unitmodule/MSTATUS.CV > 0) it will not give you a count of how many transitions are disabled. The MSTATUS_MASK is not a configurable object on the Unit Class. To enable the monitoring you would need code to write a one to the MSTATUS_MASK. The Component Disabled bit of the MSTATUS_MASK option bitstring is the first bit so a 0 disables and 1 enables. By default on download the MSTATUS_MASK of a unit module is a zero.
  • I'd just like to point out that the prior responses are applicable to transitions within module SFCs (phases, sequences within equipment modules, etc.). If we are talking about transitions within recipes, I don't think there is a solution that would highlight them on the batch operator interface.
  • In reply to István Orbán:

    You are correct about the previous responses.  For disabled recipe transitions the Batch PFC View graphic will display a list of disabled transitions for the selected batch.  These are ActiveX software components of the operator interface (for both Operate and Live).  I don't see any obvious way to read the disabled transitions list from the component but it is likely there somewhere.  Any solution for a rollup of disabled transitions is going to require some custom code that can loop through the loaded batch unique IDs, connecting to the Batch DVBCtrlStepList object and reading the correct property once you identify that property.  At least that's what I'm seeing looking in our system. Matt Stoner may have run into a request like this before.

    A simpler solution may be a SQL query to the batch historian.  The transition disable and enable events are logged to the Batch Events of the batch.  

    If you are running DeltaV Live with Premium Performance Pack you can insert that query right into a graphic to populate a table object.

    SELECT [batchID]
    ,[eventdescr]
    ,[occurtime]
    ,[msecs]
    ,[isdst]
    ,[unit]
    FROM [DVHisDB].[dbo].[batcheventview]
    WHERE ([eventType] like 'Transition Control') AND (time frame restriction)
    order by [occurtime]

  • In reply to Scott Thompson:

    No this isn't possible with the Batch objects as they currently are implemented. I did send this request to see if we can get this to be possible but I suspect that it won't get done.