Topic: DMD0356 Memory View |
|
The Memory View is a Dockable A Dockable window is one that can be connected to the sides, top, or bottom of another window. Docking is done by clicking the mouse in the colored portion of the top bar of the window and dragging it toward the edge of the contain window. As it approaches the containing window, a reverse video block will appear, showing how the docked window will appear in its docked form. and Floatable This window can "float" on the screen and remain functional while being unconnected to an edge of a containing window. Floating a window is done by clicking the mouse in the colored portion of the top of the window and dragging it away from the edge, As the window is dragged away, a reverse video block will appear, showing how the window will appear in it's floating form. utility for monitoring and changing the contents in memory locations and structure fields in a Do-more CPU. This utility is only available when Do-more Designer is online with the CPU.
Using the Memory View, user can view the current value in any memory location or structure field in the CPU. Users can enter constant values in any of the Bit memory locations, Integer and Real memory locations, Strings, and structure fields.
A single Memory View can only display and edit the values of a single memory block, or a single block of structures. Do-more Designer can support up to 100 concurrent Memory Views. To create a new Memory View, click the Memory icon on the Online toolbar, or select Debug -> New Memory View from the Menu bar.
Memory Block contains a list of all the Bit, Numeric and String memory blocks, and the system-created and user-created blocks of structures from the current Memory Configuration.
Check Enable Data Polling (live status) for this view to allow the Read Only (Enable Automatic Reads) option to function for this view.
|
|
The Memory View Display
The Memory View uses color-coded display of the values to indicate various information about the values of the individual Elements in the data block. They are as follows:
|
|
Keystrokes and Mouse ActionsThe keystrokes and mouse actions within the Memory View are optimized for quick data entry of constant values into memory locations. Navigating Within the Memory View
Multiple ways to Begin an Edit Session for a Cell
Editing the Value in a Cell
Ending the Edit Session
Entering constant values into Bit memory locations.
Entering constant values into Numeric memory locations.
Entering constant values into Real memory locations.Real format:
Exponential format:
.
Entering a String Literal Zero or more characters enclosed in double quotes, as in "hello", and may include both simple escape sequences (such as \t for the tab character) and hexadecimal data (such as 0xAA). into a String Element.Memory View does not allow Automatic Reads for Strings. The Memory View will display the following message when the it is created with a String data type:
If the text to be entered into the String contains only displayable ASCII characters then ASCII display format is the proper choice.
If the text to be entered in the String contains any non-displayable ASCII characters, for example <CR><LF>, or $N, or 0x0D0A then select the Quoted display format so that the control characters can be displayed properly.
Any attempt to close the Memory View when changes have been made to any of the values in the Memory View but those changes have not been written to the PLC, you will see a message similar to the one below that asks what to do with the unwritten changes:
Yes closes the Memory View but does not write the pending changes to the PLC.
No closes the message box and returns to the Memory View so the pending changes can be written to the PLC.
|
|
Read OperationsThe Read operations are used to refresh the data values displayed in the Memory View by reading new values from the connected PLC. The last time any of the Read operations was successfully executed will be displayed in the Status bar of the Memory View.
Any attempt to execute any of the read operations when changes have been made to any of the values in the Memory View but those changes have not been written to the PLC, you will see a message similar to the one below that asks what to do with the unwritten changes:
|
|
Write OperationsThe Write operations are used to send the values displayed in the Memory View to the connected PLC. Structure fields in UDTs can be set to read-only; all of the write operations will skip over structure fields that have been marked as read-only. When writes are enabled and the cursor moves onto a field that is read-only, the status bar will display 'Read-Only'.
|
|
Setup Operations
Example Output: will display a portion of the export text using the selections made above.
Click the Export! button to proceed. A Save As dialog will open where the folder and file name of the export file can be entered.
---------------------------------------------------------------------------------------------------------------------------------- If the Memory View contains a System-defined Structure or a User-defined Structure, the following dialog is opened that allows you to specify which of the structure's fields to export, and what display format to use for those fields.
Fields to Export selects how many of the structure's fields to include in the export as specified by the structure's Level Status:
Field Formatting selects the display format used when exporting the field's data:
Example Output: will display a portion of the export text using the selections made above.
----------------------------------------------------------------------------------------------------------------------------------- Once the Export completes successfully, the final dialog is opened that allows the following:
If the width of the Memory View is narrower than the toolbar, a chevron ( ยป ) will appear at the end of the toolbar. Click the chevron to open a drop-down list that contains all of the toolbar buttons that would not fit on the toolbar at its current width. Refer to the image below:
|
|
Set Default OptionsRight-click over the Memory View and select Options... or select View -> Options to open the Memory View tab of the Options dialog where you can set the default selections for new Memory Views.
Position for New Views is where all new Memory Views will initially be docked:
Default Display Format is specifies the default data format of the values that will be used for all of the Elements in new Memory Views:
Number of Columns for New Views is the default number of columns of Elements in new Memory Views.
Safety specifies the default enabled / disabled state of confirmation dialogs:
Default Mode specifies the initial mode for New Memory Views:
|
|
See Also:
Memory Image Manager for Retentive Memory
|
|