The DeltaV Process History application displays real-time and historical data for all modules selected for trending. Module trends are plotted on a graph, and events are displayed in a tabular (grid) format. All event records contain fields that are displayed in columns, including Date/Time, Event Type, Category, Area, Node, Module, and two Description fields. You can use the LOGEVENT button to add an action to the phase logic to record a message in the Desc2 field of an event record.
You will need to add a new phase algorithm parameter to the run logic of the DRAIN phase class. Name the parameter DRAIN_WASTE and make the type STRING. Leave the value blank (null).
Add the following action to the DRAINING_WASTE step:
'DRAIN_WASTE.CV' := LOGEVENT ("Sending " + 'INIT_LEVEL.CV' + "gallons to waste")
The DRAINING_WASTE step now has two actions, with the Logevent being the second action.
This action adds an event record.