cfc编译报错

W: Parameter access part1.TE_A.VALUE to the "TE5015A" address does not occur via the process image, rather via direct I/O access. The rule should be a process image access (see details)."
W: Local data requirements for the priority class 1:
          The local data requirements (710 bytes, including OB121 and OB122) of organization block OB1 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 25:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB82 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 25:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB83 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 25:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB84 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 25:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB85 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 25:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB86 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: Local data requirements for the priority class 28:
          The local data requirements (714 bytes, including OB121 and OB122) of organization block OB88 exceed the configured local data stack of the corresponding priority class on the connected offline CPU.
W: The number of instance DBs (244) intended for S7 communication is greater than the maximum permitted number 150.
                   0 error(s) and 18 warning(s) found         

请问我cfc编译的时候报出这么多警告 是什么原因啊 如何修改

问题补充:
那看样子不能用cfc做了把 只有一步步的换成梯形图来做了 我用的是6ES7 412-2XJ05-0AB0

最佳答案

这个是警告CPU提供的本地数据不足,是可以手动调整的, 方法是在硬件组态里, 双击CPU, 在它的属性里,找到"Memory"这个标签页, 将1, 25,28优先级的本地数据大小调大至128即可,如果提示超过了总数,下边有一个总和的大小,也可以调节.

提问者对于答案的评价:
解决了

专家置评

请参考两位大侠的建议,PCS7 里一定要用映像区方式来访问卡件,例如:用IW512, 在CPU属性里可以设置映像区大小.参考:
http://www.ad.siemens.com.cn/download/searchResult.aspx?searchText=A0462
AS控制器内存分配及优化

原创文章,作者:more0621,如若转载,请注明出处:https://www.zhaoplc.com/plc177125.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2017年6月19日 下午5:53
下一篇 2017年6月19日 下午5:54

相关推荐

  • OLM 冗余电源

    OLM G12 的冗余电源是不是把两路都要接上,只接了一路电源是不是起不到冗余的作用啊? 还有,我看到别人下程序的时候,会把PCS7改为STEP7模式…

    SIMATIC PCS 7 2017年7月26日
  • 电脑配制

    我想配一台笔记本,可以运行PCS7,WINCC.想问下5000元左右,需要怎么配制才满足运行要求.请知道到的老师指点下,谢谢!(牌子IBM不知道行不,或者DELL) 最佳答案 我的…

    SIMATIC PCS 7 2017年8月15日
  • ghost问题

    1.A电脑只有wc6.0.B电脑c盘装有pcs7-7.0(es兼os).并做了ghost备份c盘,请教能不能把这个备份用u盘拷到A电脑直接装?2.cp1613有2个接口,能不能这样…

    SIMATIC PCS 7 2017年6月11日
  • CP443在运行过程中突然停机

    我用的是PCS7V7.0SP2,在硬件组太固件CP443订货号是443-1EX20-0XE0  V2.1,但硬件组态中没有V2.1的,我就组态了V2.0的,项目…

    SIMATIC PCS 7 2017年6月10日
  • wincc flexible与PCS7兼容吗?

    有无安装先后顺序?假设已安装PCS7,再安装wincc flexible对之前的PCS7有无影响? 最佳答案 1、假设已安装PCS7,再安装wincc flex…

    SIMATIC PCS 7 2017年6月18日
  • PCS7冗余服务器突然不能下载更改

    PCS7冗余服务器突然不能下载更改,只能下载整个项目,之前是好的,如何解决?????? 问题补充:对服务器和备用服务器下载过整个项目,但是还是报错。 图片说明:  &nb…

    2017年5月31日
  • 两个AS站的信息交换

    工程师站集成了两个AS,AS1的一个信号在WinCC上显示,现在想用这个信号来控制AS2里的程序,不知道怎么才可以把这个BOOL信号联系起来,通过WinCC可以实现吗? 最佳答案 …

    SIMATIC PCS 7 2017年5月31日
  • PCS7的ES与OS归档数据统一的问题

    两台计算机程序完全一样,一台ES一台OS通过CP1613与S7-400组成网络,归档数据如何作到统一? 问题补充:另外在运行时,在ES上修改程序后也要在OS上修改(很麻烦) 最佳答…

    SIMATIC PCS 7 2017年11月1日
  • 授权的含义

    请问PCS7中授权 CFC(5000)是什么意思是不是在系统中可以使用5000个CFC  ? WinCC RT和WinCC&nbs…

    SIMATIC PCS 7 2017年8月26日
  • PCS7软件,所有模块和CPU都是300是否可以用?与200通讯编程

    PCS7软件,所有模块和CPU都是300是否可以用?与200通讯编程 最佳答案 可以使用,而且使用CFC能自动识别CPU支持那些OB,我还用过IEA对300批量生成程序,使用也没问…

    SIMATIC PCS 7 2017年6月3日