Topic: DMD0420 Data Blocks |
|
Selecting the Memory Blocks tab will display a list of the currently defined memory blocks. This tab has functions that allow you to Add additional memory blocks, Edit existing memory blocks, and Delete unused memory blocks (built-in memory blocks can not be deleted, only user-created memory blocks can be deleted).
Total Blocks shows the number of currently defined memory blocks and Max Blocks shows the maximum number of memory blocks allowed base on the memory capacity of the selected CPU. Checking Hide Built-in Blocks will remove the Built-in memory blocks from the list, leaving only the user-defined memory blocks in the list.
Adding Additional Memory BlocksClicking the Add Memory Block button will open the following dialog where you can create new memory block:
Block Settings define the characteristics of the memory block as follows:
Name is the name of the block.
Data Type selects the type of data that each element in the block will contain:
Block Size is the desired number of elements in the Block. Memory blocks are allocated on DWord (32-bit, 4-byte, or 2-Word) boundaries.
Radix is the desired radix (Decimal or Octal) of the memory block IDs.
Retentive Range Settings - Memory marked as retentive will hold its state through a power cycle or a Program-to-Run mode transition. The status of memory NOT marked as retentive will be cleared at power up and during a Program-to-Run mode transition. This setting only applies to the data value in the CPU's memory, it does not store of copy the retentive data value in the offline copy of the project. If you ALSO want to store of copy of the data value with the offline project you will need to use the Memory Image Manager to add this memory block to the memory image file that is part of the offline project. Select one of the following three options:
|
|
See Also:Memory View edit and / or monitor the contents of the Memory Blocks and Strings.
Memory Image Manager is used save a copy of the contents of the retentive memory locations and heap items in the offline Do-more Designer project.
|
|
Related Topics:
|
|