How do I resolve the build message "C0106: Out of global data memory" in SoMachine / EcoStruxure Machine Expert Logic Builder?
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:
- Clean
- Build
- 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
If this FAQ did not solve your issue, you can chat with us at chat with us or e-mail us at customer.services@se.com to create a case with our Technical Support Team.
If you are not located in North America, please contact your local Customer Care Center for assistance:
게시 대상: 슈나이더 일렉트릭 Korea
도움이 필요하신가요?
제품 선택기
애플리케이션에 적합한 제품과 액세서리를 빠르고 쉽게 찾을 수 있습니다.
견적 받기
영업 관련하여 온라인으로 문의하시면 전문가가 연락드립니다.
구매처
해당 지역의 가장 가까운 슈나이더 일렉트릭 대리점을 쉽게 찾을 수 있습니다.
지원 센터
한 곳에서 모든 요구 사항에 대한 지원 리소스를 찾아보십시오.