|
当持续变量表发生改变之后,有可能会发生 以下错误。
------ 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!
这是因为掉电保持数据结构发生变化,需要 执行 编绎—清除操作。
清除完之后再执行下载操作即可。
|
|