我們的品牌

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

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

歡迎訪問我們的網站
		
我们今天能为您提供什么帮助?
How do I resolve the build message "C0106: Out of global data memory" in SoMachine / EcoStruxure Machine Expert Logic Builder?

Article available in these languages: 西班牙文

Issue
When attempting to Download or Code Generate my PLC Application in SoMachine or EcoStruxure Machine Expert Logic Builder,  the build message "C0106: Out of global data memory" appears in the Messages zone.

Product Line
SoMachine / EcoStruxure Machine Expert

Environment
Logic Builder PLC Configuration software in Windows

Cause
The build message "C0106: Out of global data memory" is caused by the application having more variables used in the Persistent Retain memory than there is physical memory on the PLC.

Resolution
Reduce the number of variables declared in the PersistentVars Application object or declared as "VAR_GLOBAL PERSISTENT RETAIN" in the Global Variable List (GVL) node.
Do this incrementally and go to the Build menu and perform the following actions in sequence:
  1. Clean
  2. Build
  3. Generate Code

After each Generate Code, check the Message list to see if the C0106 message has disappeared.

If so, one can see the used memory in the message list in the form of "Memory area 5 contains Persistent Data:…"
For example in Screenshot 2 below, 2044bytes is the maximum for the HMISCU PLC - of which 46% is used.

Tip: Watch for ARRAYs, DUT (structures) and combinations of the two (ARRAYs of DUTs), which can increase the defined memory usage multiplicatively.

To see how many bytes the PLC has allocated to the Persistent Retain Variables area, go to the SoMachine Online Help [PLC type section] -> Programming Guide -> Memory Mapping section

施耐德電機Taiwan

附件
Screenshot 1 - 2600bytes used of 2044.png [64.78 KB]
Screenshot 2 - Reduced Array size.png [72.99 KB]
探索更多
系列:
探索更多
系列:

需要協助?

  • 產品選型工具

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

  • 取得報價

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

  • 購買地點

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

  • 支援中心

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

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