我們的品牌

Impact-Company-Logo-English Black-01-177x54

歡迎造訪施耐德電機全球網站

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
What are the differences between Internal Flash, DRAM, and SRAM memory in the Magelis targets?
Issue:
How are the internal flash, DRAM, and SRAM memory used in the Magelis targets?

Product Line:
XBTG/GC/GK/GT, HMIGTO/GTU/STO/STU, iPCs

Resolution:
There are three types of memory available.
  • First is Internal Memory (Flash memory) which is available in different sizes in different terminals.  And this Internal (Flash) memory affects the total size of your application.  When download, the application is stored in the Internal Memory.
  • Second is Dynamic RAM (DRAM) which is non-retentive in its nature means if terminal resets then all data of DRAM get erased. And DRAM memory affects how much information you can display on the panel at one time.
  • Third type is Static RAM (SRAM) which is retentive in its nature means if terminal resets anyhow then all its data do not get erased and they are retained. And SRAM memory affects how much information you can store between run-time sessions.

Comparing DRAM and Internal Flash memory in HMI terminal, you can correlate these two memory segments with RAM and Hard Disk memory of PCs respectively where RAM affects runtime performance of PCs and hard disk capacity indicates overall storing capacity of PCs.

Naturally during runtime your DRAM usage will be bigger than overall memory occupied by Internal Flash memory of terminal because DRAM indicates the current CPU usage of terminal depending on loading of runtime application and it keeps varying rather Internal memory usage will be fixed depending on overall size of downloaded application and indicates how big application can be downloaded to terminal.

Here are few details about Magelis terminals memory break-up and usage:

i) The application is managed on DRAM with Java methods:
- At download, the whole project is stored on Flash memory as compressed binary. It is the APP. bin file.
- At startup, the project is uncompressed from Flash into DRAM as Java classes and variable list; each panel, graphical object, action... has its own Java class.
- Immediately, instances for all classes needed at startup (startup panel, target actions, alarms) and for all scanned variables are created;
- When another panel needs to be displayed, instances for all classes (new panel, graphical objects of this panel, panel actions) and variables called on this panel are created;
- When the panel change, instances of unused variables are not deleted, they stay in DRAM. Instances of graphical objects are regularly deleted from DRAM.

ii) The customer can also use an Action which makes "Information" operation, as described in Online Help section 9.5.13: with this operation you can get the current DRAM usage during runtime.

iii) The result of the method "Sys.getInfoInt" is the amount of memory available on the selected memory area given in Kbytes:
- TOTAL_DRAM_USAGE gives the available memory in DRAM,
- FREE_KBYTE_MAIN gives the available memory in main drive which is the flash memory,
- FREE_KBYTE_SECONDARY gives the available memory in secondary drive which is CF card,
- FREE_KBYTE_OPTIONAL gives the available memory in optional drive which is USB storage device.

施耐德電機Taiwan

探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

    快速輕鬆地為您的應用找到合適的產品和附件。

  • 取得報價

    立即線上提交您的銷售需求,專業團隊將主動聯繫您。

  • 購買地點

    輕鬆在您所在地區找到最近的施耐德電機經銷商。

  • 支援中心

    在同一位置找到滿足您所有需求的支援資源。

  • 產品文檔
  • 軟體下載
  • 產品選型工具
  • 產品替代和替換
  • 幫助和聯絡中心
  • 尋找我們的辦公室
  • 取得報價
  • 人才招募
  • 公司簡介
  • 舉報不當行為
  • 無障礙
  • 新聞中心
  • 投資者
  • 專業洞察
  • 台灣施耐德電機學院
  • 綠色影響力落差調查
  • Schneider Go Green 2025
  • 隱私政策
  • Cookie通告
  • 使用條款
  • Change your cookie settings