Command Memory

Symbol: Command Memory 1:

Function: The command opens the Memory View.

Call: Menu PLC > Memory

Requirement: As a rule, the control system supports the functionality. At least one application is loaded and in online mode.

Memory View

Command Memory 2:

Application

Select the PLC project for which the memory view is to be displayed. You must be logged on to the controller with this project. It does not have to be the "active PLC project".

Area

  • Absolute: Memory is addressed directly and completely. The address is in the input field next to it.
  • Area <i>: Memory areas of the controller, starting with Area 0. Memory areas reserved exclusively for code are not displayed.

Address

Absolute start address of the core dump

Requirement: Absolute is selected in the range.

Offset

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

Requirement: A memory area is selected in area, e.g. Area 0. TwinCAT offers all currently used memory areas for selection. Memory areas reserved exclusively for code are not displayed.

Command Memory 3:

Find out the address for a variable: Input Assistant for selecting an IEC variable appears. If you have selected a variable, TwinCAT presets the start address with the variable address.

Command Memory 4:

Load/update memory view

Command Memory 5:

Show previous segment: Navigate to the previous memory segment

Command Memory 6:

Show next segment: Navigate to the next memory segment

Command Memory 7:

Notice TwinCAT does not check whether the changes are permissible. You can crash the application by making inadvertent changes

Load changes to PLC: TwinCAT transfers the new data to the controller.

Requirement: You have overwritten one or more bytes in the memory view.

Command Memory 8:

Save the contents of the memory to a file: The dialog "Memory content as binary file" appears. Select a location.

Columns

Number of columns in the hexadecimal representation of the memory dump. Two bytes are displayed per column. With Auto, the number of columns adjusts to the window size. To the right of it, the data is displayed as text.