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

相关推荐

  • CFC连接DB块的实例

    CFC如何连接到DB块的变量,例如比如一个CFC的DI_R块,如何输入连接到DB1.DBD0,输出连接到DB1.DBD4 问题补充:网站上那个,“CFC如何连接DB块中的变量”看不…

    SIMATIC PCS 7 2017年6月24日
  • PCS7V9.0选型手册

    需要PCS7V9.0选型手册,链接或文档,请发346185695@qq.com 最佳答案 PCS7 选型与订货号http://www.ad.siemens.com.cn/…

    SIMATIC PCS 7 2020年11月1日
  • 冗余基础问题

    一台PC机,414H冗余PLC,一台4个RJ45交换机 PC机上装两个1613卡,分别连到RJ45口个,另外两个CP443-1也连到这个交换机上, 1\这算是实…

    SIMATIC PCS 7 2017年8月24日
  • PCS7修改程序后下载报错,超出CPU所请允许的最作业通讯作业数。

    CPU为S7-416-2DP,使用PCS7 V8.0 UPDATE1 CFC编程。在修改程序后,选择【仅改动】下载。下载时报错“E:在程序中组态的通讯…

    2017年5月31日
  • 能确认警报的按钮

    我是新手,近来碰到一些问题想请教各位: 在造纸行业中有断纸信号,断纸的时候警报就一直响起,怎样在WINCC中做一个按钮能够把报警确认掉,且不影响下次报警报进来。&nbsp…

    SIMATIC PCS 7 2017年8月26日
  • PIW改成IW

    请问414CPU带的AI模块,编译符号的时候是PIW,怎么改成IW,是在CPU里面改吗? 最佳答案 1.符号表中将PIW替换成IW;2。程序中将“绝对地址优先”改为“变量名优先”;…

    SIMATIC PCS 7 2017年7月25日
  • PCS7系统I/O点

    PCS7系统中可以使用多少I/O点,怎么确认已经使用了多少点?使用点的数量和授权有关吗? 最佳答案 PCS7是过程控制系统,点数是按PO算的,PO的定义就是过程对象,像PID,电机…

    SIMATIC PCS 7 2017年10月24日
  • 请问有PCS7的资料吗

    本人想要一份西门子PCS7的深入浅出的英文版资料,有资料的请发我一份,谢谢。 问题补充:有的话请发邮箱 229878313@qq.com 谢谢 最佳答案 西门子…

    SIMATIC PCS 7 2017年6月7日
  • PCS7.1 程序编译出现 FC871 错误

    在使用PC7 进行软件组态中, 逻辑编译时出现了 FC 块错误。 全文如下:Error message fro…

    SIMATIC PCS 7 2017年6月11日
  • IO模块无法配置过程映像区,显示灰色的横线

    IO模块无法配置过程映像区,显示灰色的横线 最佳答案 这是由于已组态的I/O模块端口地址address,超出了SIMATIC项目CPU模块默认的Size of …

    SIMATIC PCS 7 2017年6月3日