回复:多重背景功能块不能生成?

comeback

  • 帖子

    50
  • 精华

    0
  • 被关注

    2

论坛等级:游士

注册时间:2008-10-21

普通 普通 如何晋级?

发布于 2011-08-19 14:25:59

11楼

quote:以下是引用火麒麟在2011-08-19 14:12:13的发言:
Des cription of Error:

You have used a UDT or declared a static variable for the call of a function block/system function block in the variable declaration (multiple instance declaration). The interface of the used block has been changed or the used block no longer exists. The corresponding line, followed by the original structure of the used block in pseudo-symbols, will be marked as invalid when output.

To Correct or Avoid Error:

?Invalid multiple instance declaration

Eliminate the invalid multiple declaration table by highlighting the respective row in the detailed variable view and selecting the pop-up context menu command Update Declarations. At the same time eliminate all invalid calls in the code section of this block by highlighting each call and selecting the menu command Edit > Call > Update.

?Invalid UDT declaration

Eliminate the invalid UDT declaration by highlighting the relevant row in the detailed variable view and selecting the pop-up context menu command Update Declarations. Now the current interface of the used UDTs will be referenced. At the same time eliminate all invalid accesses to UDT components in the code section of the block.

这是调用不一致的问题,在保存时弹出错误信息的帮助文本里可以看到:
所以,右键单击调用的背景FB,选update declaration即可。


谢谢!右键单击红色错误处,选择了更新后,还是一样的故障。
学习中,请多指教!
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54618条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

快扫描右侧二维码晒一晒吧!

再发帖或跟帖交流2条,就能晋升VIP啦!开启更多专属权限!

  • 分享

  • 只看
    楼主

top
您收到0封站内信:
×
×
信息提示
很抱歉!您所访问的页面不存在,或网址发生了变化,请稍后再试。