Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics Rosemount 3051S Advanced Diagnostics Module Templates for DeltaV Graphics Files ROSEMOUNT STATISTICAL PROCESS MONITORING (SPM) MODULE TEMPLATES FOR DELTAV. The Rosemount Statistical Process Monitoring Library Module Templates for DeltaV® versions 11 and later, provide a means to easily configure alarms, process history collection, and operator faceplates for Rosemount field devices that implement Statistical Process Monitoring (SPM) technology. There are two module templates that support SPM technology. The RMT_SPM_HART template is used for HART® devices that implement SPM Technology (e.g. Rosemount 3051S with Advanced HART Diagnostics), while the RMT_SPM_FF template is used for FOUNDATION™ Fieldbus devices that implement SPM (e.g. Rosemount 3051S FF with Advanced Diagnostics Suite). SPM data (PV, Mean, Standard Deviation, and Coefficient of Variation) generated by the field device are brought into Control Studio via AI Function Blocks. The Module Templates provide pre-configured, history collection, alarms, and alarm management. The DeltaV Module Templates can be downloaded at: http://www.Rosemount.com/3051SDiagnostics The following files are included in the DeltaV Module Templates: DeltaV Import/Export Configuration Files (e.g. FHX Files) • Spm_vars – Contains the Named Set “spm_vars” used by both RMT_SPM_HART and RMT_SPM_FF • RMT_SPM_HART – Used for HART Devices with SPM • RMT_SPM_FF – Used for Fieldbus devices with SPM www.rosemount.com • RMT_SPM_fp – Operator Faceplate Picture used by both RMT_SPM_HART and RMT_SPM_FF • RMT_SPM_dt – Operator Detail Picture used by both module templates Chart Files – Used to create the Process History View charts launched from the Faceplate • RMT_SPM_FF_MC • RMT_SPM_FF_MS • RMT_SPM_FF_PC • RMT_SPM_FF_PS • RMT_SPM_HART_MC • RMT_SPM_HART_MS • RMT_SPM_HART_PC • RMT_SPM_HART_PS Instructions for Installing Module Templates The following instructions explain how to import the Rosemount 3051S Advanced Diagnostics DeltaV Library Module Templates (with associated charts and pictures) into a DeltaV 11 system. These templates will be pre-installed with DeltaV versions 12 and later. Import Module Template Configuration Files From DeltaV Explorer, select the menu option File > Import > Standard DeltaV Format to import the Module Template Configuration Files. Import the three files in the FHX folder. First import the file spm_vars.fhx. Second, import the files RMT_SPM_HART.fhx and RMT_SPM_FF.fhx. Import Process History View Chart Files Copy the following 8 files from the Charts folder to the directory: C:\DeltaV\DVData\Charts\lib Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics RMT_SPM_FF_MC.phve RMT_SPM_FF_MS.phve RMT_SPM_FF_PC.phve RMT_SPM_FF_PS.phve RMT_SPM_HART_MC.phve RMT_SPM_HART_MS.phve RMT_SPM_HART_PC.phve RMT_SPM_HART_PS.phve Import the Picture Files Copy the file RMT_SPM_fp.grf from the Pic folder to the directory C:\DeltaV\DVData\Graphics-iFix\Pic\Faceplate Copy the file RMT_SPM_dt.grf from the Pic folder to the directory C:\DeltaV\DVData\Graphics-iFix\Pic\Detail STATISTICAL PROCESS MONITORING TECHNOLOGY Advanced Pressure Diagnostics technology provides a means for early detection of abnormal situations in a process environment. Advanced Diagnostics technology enables the user to proactively respond to changes in the process, troubleshoot, and prevent loss of production, plant shut-downs or safety hazards. Virtually all dynamic processes have a unique noise or variation signature when operating normally. Changes in the signatures may signal that an abnormal event has occurred or will occur soon. Examples of abnormal events that are detectable using process variation include plugged impulse lines, furnace flame instability, distillation column flooding, pump cavitation, and entrained gas in liquid flow measurements. Since pressure measurement applications require a very stable reading, damping is typically applied to both the transmitter and the host system to reduce or eliminate variation. Control systems typically sample the pressure once per second or slower. The combination of damping and sample rate remove most of the signal variation characteristics that are useful for detecting abnormal process conditions. Statistical Process Monitoring (SPM) technology provides a solution by sampling the pressure at a rate faster than available in the control system, computing statistical parameters (e.g. mean, standard deviation, and coefficient of variation), and making these parameters available to a host system via HART or FOUNDATION Fieldbus. Figure 1 shows one example of how the Standard Deviation value is affected by changes in Process Noise while the Process Variable (PV), as typically seen by the control system, remains unchanged. Figure 1. Example of how Standard Deviation changes with the process noise 55 Process Noise Normal Increased Noise Reduced Noise 50 45 0 1 1.5 Standard 1 Deviation 0.5 2 0 0 1 2 4 Standard Deviation Decreases Standard Deviation Decreases 3 4 55 Process Variable (PV) PV Unchanged 50 PV Unchanged 45 0 1 2 3 Time (minutes) 4 Figure 2 illustrates SPM technology in greater detail. The process pressure is measured by the pressure sensor, and sent to the host system via 4-20 mA. At the same time, a Statistical Calculations Module computes the mean, standard deviation, and coefficient of variation (CV). Figure 2. Illustration of how the SPM technology works. Standard Outputs (4-20 mA/HART Learning Module Process Variable Control Inputs Baseline Values Statistical Calculations Module Decision Module Resident in Transmitter 2 3 Statistical Parameters HART alert / 4-20 mA alarm Outputs Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics The Statistical Parameters (or SPM variables) are made available as outputs to the host system as HART or FOUNDATION Fieldbus digital variables, where they may be trended in a process historian and viewed by a plant operator. If a process upset occurs, plant staff can look at the process historian and examine the SPM variables to determine if changes in these values gave any prior indication. After understanding how changes in process conditions change the SPM variable values, a control engineer can create alarms based on the SPM data. The SPM data can also be integrated with plant operations to provide an early indication of abnormal process conditions and facilitate faster recovery or the prevention of the abnormal condition. As of November 2012, the following pressure transmitters implement Statistical Process Monitoring technology and are compatible with these module templates. Manufacturer Protocol Device Revision SPM Type (s) Description Variables Rosemount HART 3051S HDT 1, 2 Rosemount HART 3051S HDT 3 Rosemount FF 3051 23 3051S Advanced HART Diagnostics – DA1 Option 3051S Advanced HART Diagnostics – DA2 Option 3051S FOUNDATION Fieldbus with Advanced Diagnostics Suite (D01 Option) Mean, Std Dev Field test and laboratory data have shown that for most DP flow applications, the standard deviation is approximately proportionate to the DP mean. This relationship has been observed in a variety of fluids (e.g. liquid and gas), primary elements (orifice plate, venturi, flow nozzle, Annubar, etc.) and beta ratios. The ratio of standard deviation to mean is defined as the Coefficient of Variation (CV). CV = (StDev/Mean) x 100% CV will remain approximately constant even if the flow rate changes. Thus, if an operator observes a change in CV, it is much less likely due to a change in the flow rate, and much more likely due to the presence of some abnormal process condition. Figure 3 on page 4 shows a comparison of standard deviation with CV. During the abnormal event, (e.g. plugged impulse line, entrained air, etc.) both the standard deviation and the CV increase. But when the flow rate is increased, the standard deviation increases while the CV stays generally constant. Mean, Std Dev, CV Mean, Std Dev COEFFICIENT OF VARIATION In DP flow applications, the standard deviation is affected by the differential pressure. Thus, if the flow rate increases, the standard deviation also increases. If the flow decreases, the standard deviation decreases. A change in standard deviation caused by a changing flow rate should not be interpreted as an abnormal event. 3 Technical Note Advanced Diagnostics 00840-1300-4801, Rev AA April 2013 Figure 3. Comparison of the Coefficient of Variation and Standard Deviation variables under varying flow conditions. CV is recommended to be used only with DP flow applications, because for other pressure applications (e.g. line, absolute, DP level) the relationship of standard deviation being proportionate to pressure does not hold. NOTE In the 3051S Advanced HART Diagnostics with DA2 option the Mean, Standard Deviation, and Coefficient of Variation are available directly from the transmitter as HART digital variables. In the 3051S HART DA1 and 3051S FF D01, only Mean and Standard Deviation are available. If needed, CV can be calculated in Control Studio as described in “Operation of the Module Templates.” 4 Technical Note 00840-1300-4801, Rev AA April 2013 EXAMPLE APPLICATIONS FOR SPM TECHNOLOGY Some example applications for SPM technology are listed below. SPM technology may also be appropriate for applications not listed. For more information on SPM applications, refer to: www.Rosemount.com/3051Sdiagnostics • Plugged Impulse Lines • Furnace Flame Instability • Distillation Column Flooding • Pump or Valve Cavitation • Wet Gas Flow • Catalyst Circulation Problems • Coal Pulverizer Primary Fan Wear • Coated or Plugged Annubar • Pulsation Induced Measurement Error • Aerated Liquid Flow • Agitation Loss in DP Level • Bubbler Tank Level • Process Leak NOTE SPM diagnostic capability in the pressure transmitter calculates and detects significant changes in statistical parameters derived from the input pressure signal. These statistical parameters relate to the variability of and the noise signals present in the pressure signal. It is difficult to predict specifically which noise sources may be present in a given pressure measurement application, the specific influence of those noise sources on the statistical parameters, and the expected changes in the noise sources at any time. Therefore, Emerson Process Management cannot absolutely warrant or guarantee that SPM will accurately detect each specific condition under all circumstances. Advanced Diagnostics 1. A CALC block with code for Alarm Management and Calculating Coefficient of Variation when needed 2. AI Function Blocks for reading PV, Mean, and Standard Deviation from the field device 3. AI Function Block for Coefficient of Variation (either read from the field device, or populated by the CALC block) 4. Device Tag parameter to allow the AMS Device Dashboard to be launched from the Operator Faceplate 5. Alarm Management parameters, allowing the SPM alarms to be automatically enabled and disabled during known periods (such as during a process startup or shutdown), or when the process goes outside of a known valid operating range. 6. Parameters for specifying SPM variables to be displayed to the Operator on the Faceplate and Process History View charts. The module template also provides preconfigured history collection for each of the AI blocks (PV, HI_LIM, and LO_LIM parameters). Preconfigured HI and LO alarms are provided for each AI block. Each of these components of the module template is described in detail later on. DIAGNOSTIC MODULE TEMPLATE OVERVIEW The pre-configured Advanced Diagnostics module templates provide the means for the user to easily utilize Rosemount advanced pressure diagnostics. Figure 4 on page 6 shows a screen capture of the RMT_SPM_HART module template. The module template contains six main components: 5 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics Figure 4. Screenshot of the HART SPM Module Templates in Control Studio (1) (2) (3) (4) (5) (6) 6 Technical Note 00840-1300-4801, Rev AA April 2013 CONFIGURATION To configure Statistical Process Monitoring using the DeltaV Explorer, create a module from the module template RMT_SPM_FF for Fieldbus devices or RMT_SPM_HART for HART devices. You can use DeltaV Explorer or Control Studio to customize the module’s properties and configuration parameters. There are configuration tips in the function block diagram of the module in Control Studio. Begin by assigning the ‘AI1’, ‘MEAN’, and ‘STDEV’ function blocks to the Signal Tag for the corresponding variable from the transmitter. If available in the device also assign the ‘CV’ function block, and change the CV_ASSIGNED parameter to TRUE. If CV is not available in the device, then leave the CV function block and CV_ASSIGNED parameter unchanged, and the CALC block will automatically calculate CV from the mean and standard deviation. Next you will need to set the scaling for both the AI and/or ALM function blocks as desired. The scaling limits will automatically propagate into both the Operator Faceplate and the Process History View Chart. In RMT_SPM_HART the OUT_SCALE parameters of the AI blocks are used for the faceplate and charts. In RMT_SPM_FF the IN_SCALE parameters of the ALM blocks are used for the faceplate and charts. Modify the history collection parameters as desired. Enable SPM Alarms and set alarm limits as desired. Note that all of the SPM Alarms are disabled by default. It is recommended that prior to enabling alarms the user monitors the SPM data to determine how it is affected by an abnormal condition. Set the DEVICE_TAG parameter to the DeltaV tag for the device. Configure the alarm management (ALARMS_ENABLED and PV_LIM_MODE) as desired. OPERATION OF THE MODULE TEMPLATES SPM variables (Mean, Standard Deviation, and CV) are available from the pressure transmitter as either HART digital variables (HART_SV, HART_TV, and HART_FV) or as FOUNDATION Fieldbus variables. Refer to the device documentation for information on mapping the SPM variables to HART or Fieldbus variables. Advanced Diagnostics With the SPM module templates, PV, mean and standard deviation values are monitored using 3 AI blocks (AI1, MEAN, and STDEV). The coefficient of variation is monitored using a 4th AI block (CV). Some pressure transmitters provide CV directly as a secondary variable. For other pressure transmitters, CV is calculated from the mean and standard deviation by logic in the CALC block of the module template, and written to the CV AI Block via the SIMULATE parameter. The Boolean parameter CV_ASSIGNED is used to specify whether the CV is read directly from the transmitter (TRUE) or whether CV is calculated in the CALC block (FALSE). ALARM LIMITS AND ALARM MANAGEMENT There are 11 alarms provided by the module. All alarms are disabled by default except the PVBAD_ALM. The alarm limits and priorities can be modified, and alarms can be enabled or disabled individually in either the AI Block (RMT_SPM_HART) or the Alarm Block (RMT_SPM_FF). Default alarm limits, priorities, and enabled states are shown below. Alarm Parameter Limit Value Enabled Priority CV_HI CV/HI_ACT 1 False Advisory CV_LO HI_ALM HI_HI_ALM LO_ALM LO_LO_ALM MEAN_HI MEAN_LO PVBAD_ALM CV/LO_ACT AI1/HI_ACT AI1/HI_HI_ACT AI1/LO_ACT AI1/LO_LO_ACT MEAN/HI_ACT MEAN/LO_ACT AI1/BAD_ACTIV E STDEV/HI_ACT STDEV/LO_ACT 0 95 100 5 0 95 5 False False False False False False False True Advisory Warning Critical Warning Critical Log Log Critical 1 0 False False Advisory Advisory STDEV_HI STDEV_LO Typically alarms are left disabled and the SPM data is logged into the process historian for a period of time. Alarm limits are adjusted, and alarms are enabled, after operating experience determines the threshold of transition from normal to abnormal process conditions. 7 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics DYNAMIC ENABLING AND DISABLING OF ALARMS Situations may exist where the monitored point is deliberately being operated outside its normal operating range, or the process may be starting up or shutting down, or the process may be transitioning from one operating regime to another. During those times it may be desirable to disable alarms so operators don’t experience nuisance alarms. The CALC block has logic for dynamically enabling and disabling alarms at run-time. The logic does this by changing the HI_ENAB and LO_ENAB parameters of the AI blocks (RMT_SPM_HART) or the Alarm blocks (RMT_SPM_FF). There are two separate criteria used to enable and disable alarms. One is by an external reference, and the other is by operating the process outside configured PV or Mean limits. Both are described below. Alarm Management by external reference The ALARMS_ENABLED configuration parameter in the template is used to link the control module to an external reference used to toggle the SPM alarms between the enabled and the disabled states. The value of this external reference can be modified by a process parameter, or by an operator action. The external reference is generally a logic statement in another control module. A logic result of “0” disables alarms. A logic result of “1” enables alarms. A single external reference can be used to enable or disable the alarms from a single or multiple instances of SPM modules. Refer to Figure 5 on page 8 for a flowchart of the Alarm Management logic. The ALARMS_ENABLED configuration parameter enables and disables the HI and LO alarms of all AI Blocks (PV, MEAN, STDEV, CV). The parameter does NOT enable or disable PV HIHI (HI_HI_ALM), PV LOLO (LO_LO_ALM), or PV_BAD alarms. Figure 5. Flowchart of the Alarm Management logic. Enable Disable PV Alarms AI1 PV Enable Disable Mean Alarms Remote Parameter AI2 Mean ALARMS ENABLED CALC Enable Disable StDev Alarms AI3 StDev Enable Disable CV Alarms AI4 CV 8 Alarm Management by PV or Mean When PV_LIM_MODE is set to True, the CALC block disables and enables StDev or CV alarms based on the PV or MEAN (whichever is selected in FP_VAR_1) exceeding the HI or LO limit. This logic is illustrated in Figure 6. When PV_LIM_MODE is set to False, the StDev and CV alarms are always enabled. Figure 6. Flowchart of Alarm Management through PV/Mean. PV LO_LIM ≤ PV ≤HI_LIM Mean FP_VAR_1 Yes LO_LIM ≤ MEAN ≤HI_LIM No No Disable STDEV and CV HI and LO Alarms Yes Enable STDEV and CV HI and LO Alarms OPERATOR FACEPLATE LAUNCHING OF AMS DEVICE MANAGER The DEVICE_TAG configuration parameter is used to enable the operator to open the AMS™ Device Manager screen from the operator faceplate. The DEVICE_TAG parameter must be set to the DeltaV tag (that is, the device tag shown in DeltaV Explorer) of the device with SPM. FACEPLATE VARIABLES The RMT_SPM_fp operator faceplate can display two variables. The first variable (left side of faceplate), can be configured as PV or Mean via FP_VAR_1. The second variable (right side of faceplate), can be configured as StDev or CV via FP_VAR_2. The variables selected to be shown on the faceplate are the same variables that are shown in the Process History View chart when launched from the faceplate. See “Operator Faceplate (RMT_SPM_fp)” on page 13 for additional information on the Operator Faceplate. Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics THEORY OF OPERATION – FOUNDATION FIELDBUS ONLY The RMT_SPM_FF module template, designed for FOUNDATION Fieldbus SPM devices, operates with a few differences from the HART modules. Refer to Figure 7 for a screen capture of the Fieldbus Module Template. The AI Blocks (AI1, MEAN, and STDEV) are configured as Fieldbus shadow function blocks (1). These blocks are pre-configured to CHANNEL values of 1, 12, and 13 respectively, which correspond to the PV, Mean, and Standard Deviation in the 3051S FF Rev 23. The CV AI Block (3) is not a Fieldbus shadow block. Each AI block has a corresponding Alarm Detection (ALM) block (2 and 4). The 3051S Rev 23 Fieldbus SPM (D01) does not provide the CV parameter, so the variable is calculated by code in the CALC block (5) as the ratio of Standard Deviation to Mean. 9 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics Figure 7. Screenshot of the Fieldbus SPM Module Templates in Control Studio (5) (1) (2) (3) 10 (4) Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics See flowchart in Figure 8 for how the SPM data passes from the AI blocks to the Alarm blocks. The CALC block copies the value and status of the OUT parameter of each AI block to the IN parameter of the corresponding ALM block. The ALM block is used to generate the alarms rather than the AI block, because the Alarms are dynamically enabled and disabled. Writing directly to the HI_ENAB or LO_ENAB parameters of a Fieldbus function block would require writing to Non-Volatile parameters of a Field Device, and cause Control Studio to give a warning message. This situation is avoided by using the ALM block for alarms. The value and status from the AI blocks are copied to the ALM blocks using code in the CALC block, rather than using links. This allows the SPM data to be brought into the controller during Unscheduled Fieldbus communication time, rather than during scheduled communication. This reduces the load on the Fieldbus segment and gives the minimum effect on the segment macro-cycle. FUNCTION BLOCKS AND CONFIGURATION PARAMETERS Function Blocks in RMT_SPM_HART Function Block AI1 MEAN Analog Input block for the Standard Deviation – assigned to HART_SV, HART_TV, or HART_FV CV Analog Input block for the Coefficient of Variation – may either be assigned to HART_SV, HART_TV, and HART_FV (on support devices) or calculated in DeltaV and updated via SIMULATE parameter. CALC block containing logic to calculate Coefficient of Variation, and enable/disable alarms. PV AI1 PV ALM PV Mean Mean AI2 Mean ALM Mean CV_ALAR M_CTRL CV CALC AL4 CV ALM CV Analog Input block for the Primary Variable – usually assigned to FIELD_VAL_PCT, HART_FIELD_VAL, or HART_PV Analog Input block for the Mean – assigned to HART_SV, HART_TV, or HART_FV STDEV Figure 8. Flowchart of SPM Variables in the Foundation Fieldbus template PV Description Default Scaling XD_SCALE = 0.0 to 100.0% OUT_SCALE = 0.0 to 100.0 no units L_TYPE = Indirect XD_SCALE = 0.0 to 100.0 inH2O OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect XD_SCALE = 0.000 to 1.000 inH2O OUT_SCALE = 0.000 to 1.000 inH2O L_TYPE = Indirect XD_SCALE = 0.000 to 1.000% OUT_SCALE = 0.000 to 1.000% L_TYPE = Indirect N/A StDev StDev AI3 StDev ALM StDev 11 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics Function Blocks in RMT_SPM_FF Function Block AI1 MEAN Description Fieldbus Shadow Analog Input block for the Primary Variable – Fieldbus Shadow Analog Input block for the Mean STDEV Fieldbus Shadow Analog Input block for the Standard Deviation CV Analog Input block for the Coefficient of Variation – calculated in DeltaV and updated via SIMULATE parameter. CALC block containing logic to calculate Coefficient of Variation, and enable/disable alarms. Alarm Detection block for generating alarms based on Primary Variable Alarm Detection block for generating alarms based on Mean Alarm Detection block for generating alarms based on Standard Deviation Alarm Detection block for generating alarms based on Coefficient of Variation CV_ALARM_CTRL ALM_AI1 ALM_MEAN ALM_STDEV ALM_CV Default Channel and/or Scaling CHANNEL=1 XD_SCALE = 0.0 to 100.0 inH2O (68º F) OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect CHANNEL=12 XD_SCALE = 0.0 to 100.0 inH2O (68º F) OUT_SCALE = 0.0 to 100.0 inH2O L_TYPE = Indirect CHANNEL=13 XD_SCALE = 0.000 to 1.000 inH2O (68º F) OUT_SCALE = 0.000 to 1.000 inH2O L_TYPE = Indirect XD_SCALE = 0.000 to 1.000% OUT_SCALE = 0.000 to 1.000% L_TYPE = Indirect N/A IN_SCALE = 0.0 to 100.0 inH2O Module Configuration Parameters Applies to both RMT_SPM_HART and RMT_SPM_FF modules Parameter CV_ASSIGNED DEVICE_TAG ALARMS_ENABLED PV_LIM_MODE FP_VAR_1 FP_VAR_2 Description Differentiates whether the CV value is read from the transmitter or calculated in the Controller. Set to TRUE if the IO_IN parameter of the CV function block is configured. Specifies the DeltaV tag for the device, which is used by the faceplate to launch AMS Device Manager Enables/Disables all HI and LO alarms in the Control Module. Change this parameter to an External Reference, and link it to another control module containing the logic to enable and disable alarms. If set to TRUE, the STDEV and CV Alarms are disabled if the MEAN or PV (as determined by FP_VAR_1) go outside of the HI or LO limits. Configures the first variable for both the Process History View and the Operator Faceplate (PV or MEAN). Configures the second variable for both the Process History View and the Operator Faceplate (STDEV or CV). The faceplate and detail display picture names are pre-defined as module properties. For more information on the faceplate and detail display, refer to the corresponding help sections: “Operator Faceplate (RMT_SPM_fp)” on page 13 IN_SCALE = 0.0 to 100.0 inH2O IN_SCALE = 0.000 to 1.000 inH2O IN_SCALE = 0.000 to 1.000% “Operator Detail Display (RMT_SPM_dt)” on page 15 DELETING FUNCTION BLOCKS In some instances, it may be desirable to delete one or more of the function blocks from the control module. For example, if the PV is being used in a different control module (such as in a PID control module), then you may want to delete the PV function block from the SPM module. As another example, if the pressure transmitter is being used in a gauge pressure application, it may not be necessary to monitor the CV. You may delete any of the function blocks that are not needed. After deleting unneeded function blocks, you must also do the following: 12 Technical Note 00840-1300-4801, Rev AA April 2013 1. Delete any alarms referencing the deleted function block(s). Advanced Diagnostics Figure 9. DeltaV Operate View of the Statistical Process Monitoring Faceplate (RMT_SPM_FP) 2. Modify the code in the CALC block. Right-click on the CALC block, and select Expression… from the context menu. Follow the instructions in the code comments to delete sections of the code that reference the deleted function block(s). NOTE To use the operator faceplate with the control module, you must at a minimum keep either the AI1 or MEAN function blocks, and either the STDEV or CV function blocks. NOTE If any function blocks are deleted, the operator detail display will recognize this and automatically make the corresponding fields invisible. OPERATOR FACEPLATE (RMT_SPM_FP) The RMT_SPM_FP faceplate is used with the RMT_SPM_HART and RMT_SPM_FF library module templates. The faceplate shows the values and bar graphs for two different AI function block variables. The left bar graph is the value of either the PV or the MEAN function block, as determined by the FP_VAR_1 (Left Operator Variable) parameter in the control module. The right bar graph is the value of either the STDEV or the CV function block, as determined by the FP_VAR_2 (Right Operator Variable) parameter. If either the FP_VAR_1 or FP_VAR_2 parameter are changed to display a different variable, the faceplate must be closed, and reopened, in order to display the newly assigned variable on the bar graph. Transmitter Tag Standard Deviation PV PV Units PV EU 100 High High PV Alarm Limit High PV Alarm Limit Low PV Alarm Limit Low Low PV Alarm Limit PV EU 0 Standard Deviation units Standard Deviation EU 100 High Standard Deviation Limit Tick Marks Low Standard Deviation Limit Standard Deviation EU 0 Alarm Indicators Unit Field Detail Display Button Primary Acknowledge Launch Control Process Control Studio History View Alarms AMS Display button Button Button Button Button The following items are contained in the faceplate: • Transmitter Tag – Tag of the transmitter providing SPM data to this module. This tag must be specified in the DEVICE_TAG parameter of the module. • PV – This field displays the OUT value from either the PV or the MEAN function block, as specified in the FP_VAR_1 parameter. The background color of the 3-D box changes from gray to orange or red when the PV status becomes uncertain or bad, respectively. The PV or MEAN value is visible in the decimal format provided by OUT_SCALE.DECPT. 13 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics • PV Units – This area provides the engineering units description used for the PV or MEAN as defined in the OUT_SCALE parameter. • PV EU 100 – This value corresponds to 100% of scale for the PV (or MEAN). • PV EU 0 – This value corresponds to 0% of scale for the PV (or MEAN). • PV Bar Graph – This field indicates the value of the PV (or MEAN) function block, which is the same as the value shown in the PV display box. • • • Standard Deviation Units – This area provides the engineering units description used for the STDEV or CV, as defined in the OUT_SCALE parameter. Standard Deviation EU 100 – This value corresponds to 100% of scale for STDEV or CV. • Standard Deviation EU 0 – This value corresponds to 0% of scale for the STDEV or CV. • Standard Deviation Bar Graph – This field indicates the value of STDEV or CV, which is the same as the value shown in the Standard Deviation display box. • Tick Marks – Use this vertical arrangement of black lines to indicate percentages of PV/MEAN and STDEV/CV. • 14 Standard Deviation – This field displays the OUT value from either the STDEV or the CV function block, as specified in the FP_VAR_2 parameter. The background color of the 3-D box changes from gray to orange or red when the Standard Deviation status becomes uncertain or bad, respectively. The displayed decimal format of STDEV or CV is determined by the OUT_SCALE.DECPT parameter field. PV Alarm Limits – These arrowheads are vertically positioned relative to the PV bar graph to indicate the High High, High, Low, and Low Low Alarm Limits for the PV, or the High and Low Alarm Limits for the MEAN. The alarm limit values they indicate can be modified by using the module’s detail display. Only alarms that are enabled have a corresponding arrowhead displayed. The color corresponds to the alarm priority. • Standard Deviation Alarm Limits – These arrowheads are vertically positioned relative to the Standard Deviation bar graph to indicate the High and Low Alarm Limits for the STDEV or CV. The alarm limit values they indicate can be modified by using the module’s detail display. Only alarms that are enabled have a corresponding arrowhead displayed. The color corresponds to the alarm priority. • Alarm Indicators – This is a scrollable list of the current alarms in the control module. The list functions like the first two columns of an alarm summary. The first column shows the state of the alarm represented by one of the following symbols: • Active/unacked – blank field • Active/acked – checkmark • Inactive/unacked – empty box The second column is the alarm name or parameter. The text and colors are as configured for the alarm’s current state. Unit Field – This field displays the unit name. Toolbar – Click the icons from left to right to perform the following functions, respectively: • Detail Display button: open the detail display for the control module. • Primary Control Display button: open the primary control display. • Launch AMS button: opens the AMS Device Manager Overview or Configuration screen for transmitter providing SPM data to this control module. The DeltaV tag of the transmitter must be specified in the DEVICE_TAG parameter of the module. • Control Studio button: open Control Studio. • Process History View button: opens the DeltaV Process History View, and displays a trend of the two variables (PV or MEAN and STDEV or CV) shown on the faceplate. • Acknowledge Alarms button: acknowledge all alarms on this module. Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics OPERATOR DETAIL DISPLAY (RMT_SPM_DT) Figure 10. DeltaV Operate View of the Statistical Process Monitoring Detail Display (RMT_SPM_DT) The Statistical Process Monitoring detail display provides you with access to modify alarm configuration and simulation. It includes the following items: DeltaV Alarm Limits These fields are used to specify the limits for module alarms. Each of the alarms is assigned to one of the function blocks in the module: AI1 (PV), MEAN, STDEV, and CV. Note that the alarm limits set within the module may be different than alert limits internal to a transmitter with SPM. • Hi Hi Lim – This field displays the maximum value of the PV in engineering units before the high high limit active bit (HI_HI_ACT for the AI1 function block) is set. Click this field to enter a new limit. • Hi Lim – This field displays the maximum value of the PV in engineering units before the high limit active bit (HI_ACT for the AI1 function block) is set. Click this field to enter a new limit. 15 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics • Lo Lim – This field displays the minimum value of the PV in engineering units before the low limit active bit (LO_ACT for the AI1 function block) is set. Click this field to enter a new limit. • Lo Lo Lim – This field displays the minimum value of the PV in engineering units before the low low limit active bit (LO_LO_ACT for the AI1 function block) is set. Click this field to enter a new limit. • • Low Cutoff – Activated when the Low Cutoff I/O option for the AI1 function block is enabled. When the converted measurement is below the LOW_CUT value, it is shown in the PV as 0.0. • Mean Hi Lim – This field displays the maximum value of the Mean in engineering units before the high limit active bit (HI_ACT for the MEAN function block) is set. Click this field to enter a new limit. • Mean Lo Lim – This field displays the minimum value of the Mean in engineering units before the low limit active bit (LO_ACT for the MEAN function block) is set. Click this field to enter a new limit. • 16 Alm Hysteresis – This field displays the alarm hysteresis (or deadband) value for the PV (AI1) alarms in % of PV Scale. Click this field to enter a new value. An alarm does not recur until the PV has backed away from the corresponding limit by at least the % of PV Scale specified by this value. Mean Alm Hysts – This field displays the alarm hysteresis (or deadband) value for MEAN alarms in % of Mean Scale. Click this field to enter a new value. An alarm does not recur until the Mean has backed away from the corresponding limit by at least the % of Mean Scale specified by this value. • Std Dev Hi Lim – This field displays the maximum value of the Standard Deviation in engineering units before the high limit active bit (HI_ACT for the STDEV function block) is set. Click this field to enter a new limit. • Std Dev Lo Lim – This field displays the minimum value of the Standard Deviation in engineering units before the low limit active bit (LO_ACT for the STDEV function block) is set. Click this field to enter a new limit. • Std Dev Alm Hysts – This field displays the alarm hysteresis (or deadband) value for the STDEV alarms in % of Standard Deviation Scale. Click this field to enter a new value. An alarm does not recur until the Standard Deviation has backed away from the corresponding limit by at least the % of Standard Deviation Scale specified by this value. • CV Hi Lim – This field displays the maximum value of the Coefficient of Variation (CV) in engineering units before the high limit active bit (HI_ACT for the CV function block) is set. Click this field to enter a new limit. • CV Lo Lim – This field displays the minimum value of the CV in engineering units before the low limit active bit (LO_ACT for the CV function block) is set. Click this field to enter a new limit. • CV Alm Hysts – This field displays the alarm hysteresis (or deadband) value for the CV alarms in % of CV Scale. Click this field to enter a new value. An alarm does not recur until the CV has backed away from the corresponding limit by at least the % of CV Scale specified by this value. DeltaV Alarms These fields show the configured alarm priority for each alarm, and allow the alarms to be enabled, disabled and suppressed. Note that the alarm priority fields are read-only. Each of the alarms are assigned to one of the function blocks: AI1, MEAN, STDEV, and CV. The table below shows the function block and alarm corresponding to each of the fields. Field Hi Hi Hi Lo Lo Lo PV Bad Mean Hi Mean Lo Std Dev Hi Std Dev Lo CV Hi CV Lo Function Block AI1 AI1 AI1 AI1 AI1 MEAN MEAN STDEV STDEV CV CV Alarm HI_HI HI LO LO_LO BAD_ACTIVE HI LO HI LO HI LO Technical Note 00840-1300-4801, Rev AA April 2013 Priority Adj Priority Adj – Use this to decrease the alarm priority at run time. If a module has more than one alarm configured, the alarm priorities are all reduced by the same value, except that the lowest priority that will be set is 3, a logged event. (For example, if a module has three alarms, configured with alarm priorities of 12, 8, and 5, and a priority adjustment of 5 is made, the run-time alarm priorities will be set to 7, 3, and 3, respectively). The configurable alarm priority held in the PRI field of each alarm parameter remains unchanged. Therefore, setting the priority adjustment back to 0 reestablishes the original priority levels (in the above example, 12, 8, and 5). Refer to DeltaV Books Online Events and Alarms Reference for more information on the ALARMS parameter and to System Alarm Management for more information on alarm priorities. Diagnostics This section displays visible text for active conditions in the module’s MERROR, MSTATUS, and BLOCK_ERR parameters. There is a tab for each parameter. The parameter name on the tab is underlined when an active condition for that parameter is displayed. When an error has occurred in the module, a Clear Error button is displayed on the MERROR tab. Click this button to clear active errors. Simulate These fields are used to activate simulated values into any of the function blocks (AI, MEAN, STDEV, or CV). For each of the four function blocks, the following fields are shown: • Sim Enable – This check box is used to enable or disable the simulate value as input to the AI function block. When the check box is checked, the value in “Sim Value” is used to calculate the PV value. • Sim Value – This is the simulated field value. To scale this value, use the OUT_SCALE to calculate the PV value when simulate is enabled. Click this field to enter a new value. • Field Value – This value indicates the raw field value. To scale this value, use the OUT_SCALE to calculate the PV value when simulate is disabled. Advanced Diagnostics The following parameters are used to change the SPM variable that is shown on the Faceplate: • Left Operator Variable (FP_VAR_1) – This field displays the variable that is assigned to the left side of the operator faceplate. User configurable to either PV or Mean. • Right Operator Variable (FP_VAR_2) – This field displays the variable that is assigned to the right side of the operator faceplate. User configurable to either Standard Deviation (STDEV) or CV. Overall Alarm Control • All Hi/Lo Alarms – This read-only field displays the enabled status of all high and low alarms in the module. For example, external logic may be used to disable all alarms during start-up or shutdown. This field shows the result of that logic. • PV/Mean Alarms – This read-only field displays the enabled status of all PV and Mean alarms configured. This field is always the same as “All Hi/Lo Alarms.” • StDev/CV Alarms – This read-only field displays the status of all StDev and CV alarms configured. If the PV or MEAN exceeds its limit, and the check-box below is checked, then the StDev and CV alarms will be disabled. • Disable Std Dev and CV Alarms when PV exceeds limits – This check box is used to enable or disable whether the PV or MEAN (as selected in “Left Operator Variable”) exceeding its limits, will cause the Std Dev and CV alarms to be disabled. Tuning PV Filter TC – This field indicates the PV filter time constant of the AI1 function block in seconds. Click this field to enter a new value. 17 Technical Note 00840-1300-4801, Rev AA April 2013 Advanced Diagnostics The contents of this publication are presented for information purposes only, and while effort has been made to ensure their accuracy, they are not to be construed as warranties or guarantees, expressed or implied, regarding the products or services described herein or their use or applicability. All sales are governed by our terms and conditions, which can be found at www.rosemount.com/terms_of_sale. We reserve the right to modify or improve the designs or specifications of our products at any time without notice. The Emerson logo is a trade mark and service mark of Emerson Electric Co. Rosemount and the Rosemount logotype are registered trademarks of Rosemount Inc. PlantWeb is a registered trademark of one of the Emerson Process Management group of companies. All other marks are the property of their respective owners. © 2013 Rosemount Inc. All rights reserved. Emerson Process Management Rosemount Measurement 8200 Market Boulevard Chanhassen MN 55317 USA Tel (USA) 1 800 999 9307 Tel (International) +1 952 906 8888 Fax +1 952 906 8889 00840-1300-4801 Rev AA, 4/13 Emerson Process Management Blegistrasse 23 P.O. Box 1046 CH 6341 Baar Switzerland Tel +41 (0) 41 768 6111 Fax +41 (0) 41 768 6300 Emerson FZE P.O. Box 17033 Jebel Ali Free Zone Dubai UAE Tel +971 4 811 8100 Fax +971 4 886 5465 Emerson Process Management Asia Pacific Pte Ltd 1 Pandan Crescent Singapore 128461 Tel +65 6777 8211 Fax +65 6777 0947 Service Support Hotline : +65 6770 8711 Email : Enquiries@AP.EmersonProcess.com
© Copyright 2025 Paperzz