无法编译的错误

Description of error:

 A structure conflict occurs because:

 ?The S7 project contains block types or shared data blocks with the same name but different structure or attribute (for example, one block has been assigned the attribute S7_m_c; the other has not been assigned an attribute).

 ?The S7 project contains block types or shared data blocks whose name only differs in uppercase/lowercase.

 ?The release versions of the block types used in the S7 project are not identical. In different release versions the inte*ce of the block types, or the attributes of the block parameters or block types may have changed. The information for the creation of a structure type under Win CC is based on the attributes of the block parameters or block types.

 ?A block type has been changed since the last OS compilation, it is used in more than one S7 program and you compiled it in "All OS data" mode.

 To correct or avoid error:

 ?Rename the corresponding block types or shared data blocks.

 ?Use the same release version of a block type throughout the entire project.

 ?Compile OS data in "All OS data – with memory reset" mode.

最佳答案

描述的错误:
 结构发生冲突,因为:
 在S7项目包含块类型或具有相同的名称,但不同的结构或属性(例如共享数据块,1块已分配的属性S7_m_c,而其他尚未分配的属性)。
 在S7项目包含块类型或共享数据块只不同的名字/小写大写。
 在S7项目中使用块类型的发行版本是不相同的。结构类型建立信息是基于块的参数或块类型的属性。
 一个块类型由于操作系统程序改变,它用于在一个以上S7编译程序。
 要纠正或避免错误:
 重命名相应的块类型或共享数据块。
 使用的整个项目块类型在相同的发行版本。
 编译“所有操作系统的数据存储器复位- OS数据”模式。

提问者对于答案的评价:
谢谢

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

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2019年6月11日
下一篇 2019年6月11日

相关推荐