Internal Memory
An internal memory register is a small amount of memory located within a computer’s central processing unit (CPU) that is used to temporarily store data and instructions during the execution of a program. These registers are typically very fast and can be accessed much more quickly than main memory, making them a valuable resource for the CPU to use in carrying out its operations.
DOPSOFT DELTA HMI Tutorial:- https://bit.ly/2FMEKKj
Types of Internal memory
There are six kinds of registers for selection. They are internal register $, Non-volatile Internal Register $M, Indirect Address Register *$, Recipe Number Register RCPNO, Recipe Group Register RCPG, and Recipe Register
Internal Register (Read / Write) : $
Word Access: $n ( n : 0-65535 )
Bit Access : $n.b( n : 0-65535, b : 0-15 )
Delta DOP-B series HMI provides 65536 16-bit internal registers ($0.0 – $65535.15).
Note: The setting values of this register are not retained when power is off.
Non-volatile Internal Memory Register (R/W): $M
Word access: $Mn (n: 0~1023)
Bit access: $Mn.b (n: 0~1023, b: 0~15)
Delta DOP series HMI provides 1024 16-bit non-volatile internal registers ($M0 ~ $M1023).
Non-volatile Internal Memory Register (Read / Write) : $M
Word Access : $Mn ( n : 0-1023 )
Bit Access : $Mn.b( n : 0-1023, b : 0-15 )
Delta DOP-B series HMI provides 1024 16-bit non-volatile internal registers($M0.0 –
$M1023.15). As the setting values of this register are retained when power is off, the user can use this register to store important data or records.
Indirect Address Register (Read / Write) : *$ Word Access:*$n( n : 0-65535 )
Indirect address register is an area where an address is stored. The user must get the address from *$n and then get the values stored in this address.
For example: if $7 = 20; $20 = 39; then *$7 = 39.
The general formula:if $n = m; $m = x, then *$n = x (m : 0-65535)。
The value of m must not be more than 65535.
Note: The setting values of this register are not retained when power is off.
Recipe Number Register (Read / Write): RCPNO
This register is used to specify the recipe data number (Fig. 3-3-2). When upload/download the data to HMI or the external controller, HMI or the external controller uses the settings of recipe number register to read/write the data of recipe. If RCPNO is set to 1, it indicates it is defined as 1st number of recipe data. If RCPNO is set to 4, it indicates it is defined as 4th number of recipe data. In addition, when editing the recipe data, the user can set the size of each number of recipe data. For more details, please refer to the descriptions of Recipe Register RCP.
Note: The setting values of this register are not retained when power is off.
Recipe Group Register (Read / Write): RCPG
This register is used to specify the 32-bit recipe group (Fig. 3-3-3). It is different than RCPNO. The difference is that when using RCPG, not only the recipe number, the recipe group also must be set. When the user wants to upload/download the recipe data of 1st Number of 1st group, RCPG must be set to 1 and RCPNO must be set to 1. If HMI or the external controller needs to read/write the recipe data of 4th Number of 3rd group, RCPG must be set to 3 and RCPNO must be set to 4. The recipe group number is determined when editing the recipe table. For more details, please refer to the descriptions of Recipe Register RCP.
Note: The setting values of this register are not retained when power is off.
Recipe Register (Read / Write) : RCP
This register is used to save the recipe data that the user downloaded from HMI after exiting Screen Editor software program. There are two kinds of recipe register, 16-bit recipe register and 32-bit recipe register.
16-bit Recipe Register
The size of this register is 16bit (1 Word). If the data storage area is an external memory, i.e. a USB disk or SM card is connected, the data space of 16-bit recipe register is 4MB words. If the data storage area is an internal memory, the data space of 16-bit recipe register is 64K words.
Assume that the data size is L and the recipe number is N, and the actual recipe data space is equal to L x N words, i.e. L x N recipe registers are occupied. Delta DOP-B series has a recipe buffer area (Table 3-3-2) which stores the selected recipe data by the user. The size of this buffer area is the same as the data size of the selected recipe. It also means that L recipe registers are occupied in recipe buffer area. Therefore, there will be L x (N+1) registers occupied in one recipe table. Use the following method to access data that set with recipe.
Word Access: RCPn ( n : 0-L*(N+1)-1 ) Note: -1 indicates that the number of RCP starts from 0.
32-bit Recipe Register
The size of this register is 32bit (2 Words or Double Word, DW). If the data storage area is an external memory, i.e. a USB disk or SM card is connected, the data space of 32-bit recipe register is 50MB words. If the data storage area is an internal memory, the data space of
32-bit recipe register depends on the specification of HMI flash memory. The user can refer to the specifications shown on DOPB series catalogue. Please note that not only recipe data, there are also other screen data stored in flash memory. It indicates the total memory size of the recipe data space must be less than the space of the flash memory. For more details, please refer to HMI Memory dialog by clicking View > Memory List
Assume that the data size is L and the recipe number is N, and the actual recipe data space is equal to L x N DW words, i.e. L x N recipe registers are occupied. Delta DOP-B series has a recipe buffer area which stores the selected recipe data by the user. The size of this buffer area is the same as the data size of the selected recipe. It also means that L recipe registers are occupied in recipe buffer area. Therefore, there will be L x (N+1) registers occupied in one recipe table. Use the following method to access data that is set with recipe.
Double Word Access: RCPn ( n : 0-L*(N+1)-1 )
Also Read:-