Skip to main content

Command: Show Memory View

Function: The command opens the Memory view.

Call: View menu

Requirement: The CODESYS Memory Tools package is installed. An application is in online mode.

The Memory view shows the memory mapping for a specific application.

For more information, see:

Tip

The view also opens when you double-click an issued warning in the message view after a memory check -- by means of the Debug → Check Memory for Active Application command.

View: Memory

This view shows the memory mapping for an application in online mode.

Application

Selection of the application for the displayed memory view. You have to be logged in to this application on the PLC. It does not have to be the "active application".

Area

  • Absolute: A memory address is assigned directly and completely. The address is displayed in the input field.

  • Area <i>: Memory areas of the PLC, starts at Area 0.

Address

Absolute start address of the core dump

Requirement: Absolute is selected in the Area input field.

Offset

Address offset (in bytes) for the selected memory area, for example 0x0200, 16#0200, or 512 (decimal number).

Requirement: A memory area is selected in Area (example: Area 0). CODESYS Memory Tools provides all memory ranges currently in use.

_cds_img_button_magnifier.png

Look up the address for a variable: Input assistance opens for selecting an IEC variable. When you select a variable, CODESYS Memory Tools reserves the start address with the variable address.

_cds_img_button_update.png

Load/Refresh the memory view

_cds_img_button_left.png

Show previous memory segment: Navigate to the previous memory segment.

_cds_img_button_right.png

Show next memory segment: Navigate to the next memory segment.

cds_img_button_load_to_sps.png

Caution: CODESYS Memory Tools does not check that the changes are permitted. You can crash the application if you make careless changes.

Download changes to PLC: CODESYS transfers the new data to the PLC.

Requirement: You have overwritten at least one byte in the memory view.

_cds_img_button_store_to_file.png

Save core dump to file: The dialog Save memory contents as binary file opens. Select a location.

Columns

Number of columns for the hexadecimal display of the core dump. Two bytes are displayed per column. For Auto, the number of columns is adjusted to fit the window size. The data is displayed in its ASCII representation on the right side.

The memory locations for variables from the application are highlighted in green. When not suppressed by the device, then the pure code memory areas are also displayed. In the case of application POUs, they are highlighted in blue. Symbols from "compiled" libraries or implicit code are not highlighted in color.

When you hover the mouse cursor over the displayed memory locations, the tooltip shows more information, such as variable name and data type.

If the memory view was opened from the message view after its memory check, then the corresponding memory location is highlighted in orange.