回复:用FB编程,仿真时,CPU为什么会停止

godkonws

  • 帖子

    207
  • 精华

    0
  • 被关注

    16

论坛等级:侠客

注册时间:2008-09-22

普通 普通 如何晋级?

发布于 2009-10-21 23:09:44

7楼

这个FB块是我第一次新建编辑的,保存时出现了同样的问题。
具体问题描述如下:
Des cription of Error:

You have changed the interface of a function (FC), a function block (FB), or a user-defined data type (UDT). If you save or download the block, conflicts will arise in blocks which reference these:

?Following a change to an FC or FB interface, all calls for this block in calling blocks are displayed in expanded form or marked as invalid. Following a change to an FB interface, the existing multiple instance definitions and instance data blocks must be updated.

?Following a change to a UDT definition which is used in a data block, function, function block, or another user-defined data type definition, a time stamp conflict arises. When opening the blocks which reference this user-defined data type, the UDT component is displayed in expanded form or marked as invalid and all variable names are overwritten with identifiers predefined by the system.

Caution:

If you download the changed block to the CPU, the CPU may go into "STOP".
To Correct or Avoid Error:

Generate an STL source file from the block you want to change and all directly or indirectly referencing blocks before you save/download the interface change. Then save the changes in the source file you created and compile the modified source file back into blocks.
要么忙着去生存,要么忙着去死.
评论
编辑推荐: 关闭

请填写推广理由:

本版热门话题

SIMATIC S7-300/400

共有54652条技术帖

相关推荐

热门标签

相关帖子推荐

guzhang

恭喜,你发布的帖子

评为精华帖!

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

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

  • 分享

  • 只看
    楼主

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