技成培训网 技成学习APP 技成工具箱 技成企业服务

欢迎回到技成培训网

技成培训网

电工题库宝典

技成电工课堂

PLC练习题

技成PLC课堂

变频器故障查询

技成PLC学吧

伺服驱动故障查询

技成PLC网校

当前位置:技成首页 > 文章中心 > 技成百科 > pcs7编译下载问题

pcs7编译下载问题

郑志武 发布于2013-03-07 10:54 8 0 标签:

这个项目已经正常运行两三年了,近工艺有些改动,所以程序也要修改.前两天修改了两个cfc和增加了两个sfc后编译就出错了.错误信息如下:
log:compile

filter:

responsibleuser:administrator
compilingchangestothechartsasprogramsimatic400(1)cpu416-3pn/dps7program(1)on2012-04-0114:58:49
generateblockdrivers:on
generatingsclsources:off
setsamplingtimesfrom2012-04-0114:59:02
settingsamplingtimescompleted:2012-04-0114:59:03.
e:fc774isoutsidetheuserrange
e:fc776isoutsidetheuserrange
errormessagesfromthesclcompilersduringgenerationofthefc776block

e:e:l00054c00028:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00054c00028:invalidvariable;periodnotallowed.
e:e:l00057c00027:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00057c00027:invalidvariable;periodnotallowed.
e:e:l00058c00026:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00058c00026:invalidvariable;periodnotallowed.
e:e:l00065c00031:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00065c00031:invalidvariable;periodnotallowed.
e:e:l00066c00044:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00066c00044:invalidvariable;periodnotallowed.
e:e:l00124c00028:invalidstructureddata,datablock,orinstanceaccess.
e:e:l00124c00028:invalidvariable;periodnotallowed.
w:w:codegeneratornotcalledbecauseofanerror.
w:op10cfc(2)(1)80blocksareinsertedintheruntimegroupinob35.thiscanleadtoproblemsduringcompilingwiththesclcompiler.
w:inob35thereare362blocks/runtimegroups/sfcchartsinstalled.thiscanleadtoproblemswhencompilingwiththesclcompiler.
w:inob100thereare221blocks/runtimegroups/sfcchartsinstalled.thiscanleadtoproblemswhencompilingwiththesclcompiler.
endofcodegenerator:2012-04-0114:59:51
14error(s)and4warning(s)found


除fc774fc776后,重新编译确实没有出错了。
可以不能只下载更改的部分,必须下载整个项目。提示后下载的版本不匹配。

cannotdownloadchanges.theonlineprogramdoesnotmatchthelastdownloadedversion.connectasuitablecpuordownloadtheentireprogra

请问怎么样才能只下载更改的部分?

问题补充:
可是我以前做类似的修改都可以changeonly下载,难道没有其它办法吗?修改前修改后项目都有备份,如果不删除fc774fc776有没有其它的办法?

佳答案

编译没有成功,全部下载也不可能实现.所以首先要编译成功.个人感觉与组态有关,例如:导入了不同版本的功能块建议:
1.将项目备份.
2.做一下块清理.
3.重新全部编译.
如果还有问题,建议咨询免费支持热线.
注:我之前倒是遇到过类似的问题,当时是做实验用的,出问题后这个项目就删掉了.

pcs7v7.0中编译cfc时,为什么会出现如下错误信息“f:thefc...isoutsidetheuserrange?”
https://support.automation.siemens.com/cn/view/zh/34230136
要更正这个错误,必须删除错误信息中提到的fc块(示例中是fc55)(图.02),再关闭lad/stl/fbd编辑器及其自动生成的db块。后重新编译。


解决办法:
1.打开一个cfc,在option菜单里选择”blocktypes”打开清理的窗口.
2.打开的窗口里,点击”cleanup”,清理一次后继续清理.

再继续编译一下.

若有收获,就点个赞吧!

文章来源于网络及文献如有侵权请联系站长
分享到:

微信扫一扫分享

阅读与本文标签相同的文章

相关推荐

最新文章 热门文章
最新课程 免费课程
PLC资料下载 电工电气资料下载
应用新秀
变频器故障代码查询APP
伺服故障代码查询APP
技成
手机APP
热门标签