合信论坛

快捷导航
查看: 8035|回复: 0

Out of global data memory: Variable '__mapvar3……的 处理方法

[复制链接]

18

主题

49

帖子

3100万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
31000712
发表于 2019-1-8 11:00:57 | 显示全部楼层 |阅读模式
当持续变量表发生改变之后,有可能会发生 以下错误。

               ------ Build started: Application: Device.Application -------
                typify code ...
                generate code...
[信息]            generate code for __VAR__PERSISTENT__WRITE__MAINTASK ...
[信息]            generate code for PERSISTENTVARS__GVL__INIT ...
[信息]            generate code for GVL_2__GVL__INIT ...
[信息]            generate code for POU_6__GVL__INIT ...
[信息]            generate code for __VAR_PERSISTENT_WRITE ...
[信息]            generate code for __PERSINIT ...
                generate global initializations ...
                generate code initialization ...
                generate relocations ...
[错误]            未命名16: PersistentVars [Device: PLC : Application](9行): C0106:  Out of global data memory: Variable '__mapvar3', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](11行): C0106:  Out of global data memory: Variable '__mapvar4', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](13行): C0106:  Out of global data memory: Variable '__mapvar5', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](15行): C0106:  Out of global data memory: Variable '__mapvar6', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](17行): C0106:  Out of global data memory: Variable '__mapvar7', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](19行): C0106:  Out of global data memory: Variable '__mapvar8', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](21行): C0106:  Out of global data memory: Variable '__mapvar9', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](23行): C0106:  Out of global data memory: Variable '__mapvar10', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](25行): C0106:  Out of global data memory: Variable '__mapvar11', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
[错误]            未命名16: PersistentVars [Device: PLC : Application](27行): C0106:  Out of global data memory: Variable '__mapvar12', 2 bytes (Largest contiguous memory gap 49) (Incremental compilation may produce fragmented memory. Perform "Build, Clean" to force a reallocation of all data and code.)
                Build complete -- 10 errors, 0 warnings : no download possible!

企业微信截图_20190108104214.png

这是因为掉电保持数据结构发生变化,需要 执行 编绎—清除操作。

企业微信截图_15469163542298.png

清除完之后再执行下载操作即可。


您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

客服热线
400-700-4858 周一至周五:09:00 - 18:00
深圳市南山区打石一路深圳国际创新谷6栋A座9层

深圳市合信自动化技术有限公司(简称“合信技术”)成立于2003年,高新技术企业,专注于工业自动化产品的研发、生产、销售和技术服务,依靠高质量、高性能的自动化控制产品与方案为客户创造最大价值,立志于成为全球领先的工业自动化解决方案供应商。

Archiver|手机版|小黑屋|COTRUST Inc. ( 粤ICP备13051915号 )

GMT+8, 2024-10-18 18:17 , Processed in 0.086874 second(s), 23 queries .

快速回复 返回顶部 返回列表