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

相关推荐

  • PCS7的问题

    在使用PCS7 作save as 重组时 重组到一半项目自动关闭时什么原因 最佳答案 Save As 且重组如果对于大项…

    SIMATIC PCS 7 2017年10月31日
  • 读CFC程序

    我拿到了一份CFC的程序,里面有A、B、C、D几页,应该先看那一页啊?哪一页是开始啊?每一页又分了几个部分。看别人的程序,比自己做还难。我都迷茫了。 最佳答案 1.CFC中的这些页…

    SIMATIC PCS 7 2017年7月30日
  • net time consumption

    PCS7 414H 系统经常会在报警记录里面看到“net time consumption of all bo…

    SIMATIC PCS 7 2017年7月26日
  • 授权区别

    SIMATIC PCS 7 OS 软件SingleStation Redundancy ASIA V8.1,(…

    SIMATIC PCS 7 2017年5月31日
  • 那位有PCS7的高级教程,麻烦给发一份,谢谢!

    那位有PCS7的高级教程,麻烦给发一份,或者给个自己能下到的网址也行啊.zhubaosheng@163.com 最佳答案 楼上有人发了西门子培训中心的培训教材,但是那是V6.1的.…

    SIMATIC PCS 7 2017年8月16日
  • 编译OS错误?

    编译OS的时候发生错误,提示发生内部错误,过程变量的编译被中止,错误代号为15124,请问是怎么回事?急问! 最佳答案 1。俱侠提供的资料很好,收藏了,但没有查到LZ相应的错误代码…

    SIMATIC PCS 7 2017年7月25日
  • 412-3H CP441-2通讯问题

    现场通讯出现一个问题:CP441-2做从站与DCS进行通讯,通讯灯RX/TX正常,但无数据传输。检查FB180,初始化的错误没有报出,但最后ERROR_NR报出16#005a,ER…

    2017年6月8日
  • 6ES7 658-5AB17-0CA5是PCS7什么版本的

    6ES7 658-5AB17-0CA5是PCS7什么版本的 最佳答案 这个资料中有关于他的介绍,请直接下载并查阅。《SIMATIC PCS 7》htt…

    SIMATIC PCS 7 2017年6月10日
  • PCS7服务器冗余的问题?

    SIMATICPCS7冗余终端总线适配器套件  订货号:6ES76520XX011XF1 用于终端总线冗余具体是指什么意思?SIMATICPCS7Se…

    SIMATIC PCS 7 2017年6月12日
  • 在PCS7 V7.0里,用哪个FB能增加一个AI点,用于压力显示。

    在PCS7 V7.0里,用哪个FB能增加一个AI点,用于压力显示。要通过上传标签显示块图标。谢谢!!! 最佳答案 一个CH_AI通道模块加一个MEAS_MON(FB65)…

    SIMATIC PCS 7 2017年6月18日