Nhãn hiệu của chúng tôi

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

Chào mừng bạn đến với Trang web của Schneider Electric

Chào mừng đến với trang web của chúng tôi.
		
Hôm nay chúng tôi có thể giúp gì cho bạn?
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: Tiếng Tây Ban Nha

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

Schneider Electric Việt Nam

Phần đính kèm
Screenshot 1 - 2600bytes used of 2044.png [64.78 KB]
Screenshot 2 - Reduced Array size.png [72.99 KB]
Tìm hiểu thêm
Phạm vi:
Tìm hiểu thêm
Phạm vi:

Bạn cần trợ giúp?

  • Công cụ chọn sản phẩm

    Nhanh chóng và dễ dàng tìm được sản phẩm và phụ kiện phù hợp cho các ứng dụng của bạn.

  • Nhận báo giá

    Bắt đầu gửi yêu cầu bán hàng trực tuyến và chuyên gia sẽ liên hệ với bạn.

  • Nơi mua hàng?

    Dễ dàng tìm nhà phân phối Schneider Electric gần bạn nhất.

  • Trung tâm Hỗ trợ

    Tìm sự hỗ trợ cho mọi nhu cầu của bạn tại một nơi.

  • Tài liệu về Sản phẩm
  • Tải xuống phần mềm
  • Công cụ chọn Sản phẩm
  • Thay thế và thay đổi sản phẩm
  • Trung tâm Hỗ trợ
  • Tìm Văn phòng của chúng tôi
  • Nhận báo giá
  • Tìm Nhà Phân phối
  • Cơ hội nghề nghiệp
  • Hồ sơ doanh nghiệp
  • Báo cáo hành vi sai trái
  • Khả năng truy cập
  • Phòng tin tức
  • Nhà đầu tư
  • EcoStruxure
  • Tìm việc
  • Blog
  • Chính sách bảo mật
  • Thông báo về Cookie
  • Điều khoản sử dụng
  • Change your cookie settings