Topic: DMD0244 The PID View |
|
The PID View is where the majority of the work related to configuring, tuning, and monitoring PID loops will be done. The PID View is opened by selecting Debug-> PID View from the Online Toolbar, or right-clicking on any PID instruction in a ladder diagram and selecting Trend Instruction from the pop-up menu, or double-clicking on the PID Overview graphic for that PID loop.
If the project contains more than one Closed Loop Controller (PID) instruction the PID View dialog needs to know which PID loop to display in the view. The Select PID Loop dialog will contain a list of the PID loops in the project, select the loop to display from the list.
The PID View is broken into three sections: one down the left side (the PID Data form) that displays the current configuration of the underlying PID Loop, and on the right side there are two trend graphs (one with the .PV and .SP fields, and one with the .Output and .Bias fields).
|
Entries in PID Data FormPID Struct - The text displayed in the upper left corner is the Struct name of the current PID loop. If the Setpoint of that PID Loop is being driven by a Ramp/Soak Profile, the Struct name of that Ramp/Soak profile along with the current step in that profile will be displayed.
|
Auto-Tune ... - will open the dialog to initiate an Autotune cycle for the currently selected PID Loop. The Autotune process is explained in more detail in the Using the Auto-tune Process help topic.
Mode: - displays the mode of the currently selected PID loop (Auto / Manual / Override Auto / Override Manual)
PLC Mode: - displays the current mode of the controller (Run / Program / Debug).
Override Mode - the checkbox enables and disables the Override option. Override mode allows the PID View to change the loop's mode (Auto / Manual) independent of the input leg to the Closed Loop Controller (PID) instruction. If Override is enabled (checked) the drop-down list will allow the user to select between Auto and Manual mode.
Tuning Parameters - this group displays the current values for Gain (P), Reset (I), Rate (D), and the Sample Time (ms).
The 'Load from PLC' and 'Save to PLC' buttons allow for runtime monitoring and changing of these values. All 4 of the values will be read from the controller or written to the controller when you select 'Load From PLC' or 'Save to PLC' operations.
Variables - this group displays the current values for the Process Variable (PV), Setpoint (SP), the Output value, and the Bias value.
The 'Load from PLC' and 'Save to PLC' buttons are primarily for managing these values when the loop is in Manual mode.
|
|
PID View Toolbar Button DescriptionsThe PID View contains it's own toolbar with buttons that are specific to the PID View and PID configuration and troubleshooting operations.
The function of each of these buttons - from left to right across the toolbar - is described below:
|
|
|
Toggle Historical Mode
The data gathering for each data point on the trend displays will continue while the PID View is in historical mode.
When the PID View is in historical mode the Tab name will have the word [HISTORICAL] added to it.
Clicking the button again will re-enable the real-time (live) update of the trend displays, and the trend graphs will be updated with all of the data that was gathered while the displays were in historical mode. |
|
Export PID Loop Configuration DataOpens a dialog used to export the values that are currently stored for each data point currently being displayed on the trends. All of the accumulated data points, or only the data points between two user-selected time stamps can be exported. Below is a sample of what the exported data will look like with the default export options:
"2012/5/17","13:52:37.047","MyPID.PV","0.35" "2012/5/17","15:48:02.160","MyPID.SP","0.62" "2012/5/17","13:35:23.088","MyPID.Bias","0.035" "2012/5/17","13:39:19.472","MyPID.Output","0.73" "2012/5/17","12:02:54.819","C10","off" "2012/5/17","12:02:54.819","C11","off" "2012/5/17","12:02:54.819","C12","off" "2012/5/17","12:02:54.819","C13","off"
Append to File - specifies whether to append the export data to the file, saving the existing contents of the file, or to over-write the existing contents in the specified file. This option will be enabled automatically any time the specified file already exists.
Delimiter - designates what character will be used to separate the individual elements on each exported line of data. The default is a comma between each element on a line.
Enclose in Quotes - designates which elements need to be enclosed in double-quotes
Prefer Nicknames to Element Names - if the elements being exported have nicknames assigned to them, the nicknames will be in the export file instead of the element. For example, if C13 has the nickname "Low Low Alarm", the exported lines for this data point would be "2012/5/17","12:02:54.819","Low Low Alarm","off"
Specify decimal places for floating point data - enable this option to override the default handling of the number of decimal places displayed for floating point values and always display the same number of decimal places as selected. |
Start Time - specifies the beginning
of the data to export
Ending Time - specifies the
end of the data to export
|
|
|
Show the Alarm Pane
|
|
|
|
Toggle Display of the PID Data FormToggles the display of the PID Data form along the left side of the Trend, Closing the Data form will maximize the size of the Trend display.
|
|
Log Current PID Loop Values to DiskThe next two buttons allow for instantaneous logging of the data point values currently being displayed on the trend graphs to disk. The recorded data is similar to that of Export Data as described above but this copy has a fixed format where each field is enclosed in double quotes and separated by commas. For example:
"2012/5/17","13:52:37.047","MyPID.PV","0.35" "2012/5/17","15:48:02.160","MyPID.SP","0.62" "2012/5/17","13:35:23.088","MyPID.Bias","0.035" "2012/5/17","13:39:19.472","MyPID.Output","0.73" "2012/5/17","12:02:54.819","C10","off" "2012/5/17","12:02:54.819","C11","off" "2012/5/17","12:02:54.819","C12","off" "2012/5/17","12:02:54.819","C13","off"
Begin Recording - click this button to begin the recording session, The button face will change to a black square and the word [RECORDING] will be displayed in the dialog's tab. Clicking this button again will stop the recording, and a 'Save As' dialog will prompt you for the filename in which to save the recorded data.
Pause Recording - stops recording data while the button is depressed. The button will appear depressed and the word [RECORDING - PAUSED] will be displayed in the dialog's tab. Click the button again to continue recording data, or click the cancel button to stop the recording session completely.
|
|
Set the Time Scale for the Trend GraphsSets the overall amount of time to be displayed in the all of the open Panes. For example, if the Time scale is set to 1 Minute, the PV/SP Pane, Output, and Alarm Panes will display a total of 1 Minutes worth of data. The Time Scale can be set to the following;
|
|
The Crosshair
If there are multiple Panes in the PID View, the vertical bar of the crosshair will extend through all of them. Using the Crosshair Zoom In / OutUsing the CTRL key and the scroll wheel on the mouse will put the PID
View into Historical Mode and zoom into
or out of the area under the center of the crosshair as follows:
|
|
Using the Crosshair to Snapshot DataLeft-clicking the mouse will take a snapshot of all the values on all of the Panes on the Trend at the time where the crosshair was located, then present that data on the snapshot dialog.
Clicking the Copy Contents to Clipboard button will copy the data displayed on the snapshot dialog to the Windows clipboard, which can then be pasted into any other Windows application for further processing.
|
|
PID View Global Display Options
Apply Options to - which Views
will be affected by changes to this dialog
Pane - specifies which pane
of the PID View to modify
Background Color - specifies the area surrounding the trend displays
Trending Area Color - specifies the background color of the trend displays themselves
Grid Lines/Tick Marks - specifies
colors and the scale used to display the grid in the trend display area Value Scale - specifies values for the vertical scale
Time Scale
- specifies the colors and the scale (Time) used to display the grid in
the trend display area
Variable
Colors - specifies the background color for the PID loop variables
in the PV/SP Pane and the Output Pane
Show Text on Toolbar Buttons - if checked, toolbar buttons will display the icon and the button name. if unchecked only the icon will be displayed.
Prefer Nicknames to Element Names - if the elements being exported have nicknames assigned to them, the nicknames will be in the export file instead of the element. For example, if C13 has the nickname "Low Low Alarm", the exported lines for this data point would be "2012/5/17","12:02:54.819","Low Low Alarm","off"
Restore Defaults - click to restore default values for all of the PID View Global options.
Export / Logging Options - defaults used in the Export and Logging functions
Specify decimal places for floating point data - enable this option to override the default handling of the number of decimal places displayed for floating point values and always display the same number of decimal places as selected.
Delimiter - designates what character will be used to separate the individual elements on each exported line of data. The default is a comma between each element on a line.
Enclose in Quotes - designates which elements need to be enclosed in double-quotes
Historical
Data - designates the amount of memory limit for saving trend data
if Historical Trend Mode is enabled.
|
|
See Also:
|
|
Related Topics:
|
|