ABB800XA学习笔记139:系统工具-第六章一致性检查工具
2023-11-11 20:19阅读:
继续学习。

图 44
Consistency Check Tool
一致性检查工具
The Consistency Check Tool is started from the Plant Explorer by
clicking the
Launch Consistency Check tool button in
the engineering toolbar, see Figure 45
通过单击工程工具栏中的“启动一致性检查工具”按钮,从 Plant Explorer 启动“一致性检查工具”,请参见图
45。

图 45
A new instance of the Consistency Check Tool will then launch. You
can have any
number of consistency
check tools active at the same time. The Consistency Check
Tool, when launched from the Plant Explorer, is empty
from start, see Figure 46

图 46
The left area lists the items you want to check the consistency
for. This may be
anything from a single aspect to a
complete AC 800M Control Project. The right
area lists the inconsistencies found and also
allows you to save the consistency report or
load an existing consistency report.
左侧区域列出了要检查其一致性的项目。这可以是任何内容,从单个方面到完整的 AC 800M
控制项目。右侧区域列出了发现的不一致之处,还允许您保存一致性报告或加载现有一致性报告。
Items to check the consistency for can either be dragged and
dropped from the Plant Explorer or added by using the
Add Item button. Clicking the add item button will
show the Select Item dialog, see Figure 47. In
this dialog you can either choose what control
project, control application or library to check, or you can select
the Structure View and then select exactly what
object or aspect to check.
要检查一致性的项目可以从 Plant Explorer
中拖放,也可以使用“添加项目”按钮添加。单击“添加项”按钮将显示“选择项”对话框,参见图
47。在此对话框中,您可以选择要检查的控件项目、控件应用程序或库,也可以选择“结构视图”,然后准确选择要检查的对象或方面。

图 47
Performing a Consistency Check
执行一致性检查
Consistency Checker Tool can run out of memory and crash if large
structures are
checked for consistency. Restart the
tool and check the structures by dividing them
into small parts.
如果检查大型结构的一致性,一致性检查器工具可能会耗尽内存并崩溃。重新启动工具并通过将它们分成小部分来检查结构。
When the items you want to check has been added, you click
Check to start checking the consistency. The
consistency check then walks through all aspects of
the selected items and performs a consistency
check on each aspect. Since this may take some
time, it is possible at any time to stop the consistency check by
clicking Cancel. The consistency check will
then stop checking the consistency of the
remaining aspects but the inconsistencies
already found will be presented in the
consistency report.
添加要检查的项目后,单击“检查”开始检查一致性。然后,一致性检查将遍历所选项目的所有方面,并对每个方面执行一致性检查。由于这可能需要一些时间,因此可以随时通过单击“取消”来停止一致性检查。然后,一致性检查将停止检查其余方面的一致性,但已发现的不一致之处将显示在一致性报告中。
When the consistency is checked for an aspect, the
consistency checker first looks at the aspect to find
out if there are any inconsistencies that the system could discover
by itself. This includes checking aspect
references and entity definitions. The
consistency checker automatically validates the
references of the aspect against the system.
The broken or ambiguous references are reported as
errors.
检查某个方面的一致性时,一致性检查器首先查看该方面,以确定系统是否存在任何可能自行发现的不一致之处。这包括检查方面引用和实体定义。一致性检查器根据系统自动验证方面引用。损坏或不明确的引用将报告为错误。
The aspect itself can perform additional consistency checks
by implementing the aspect consistency check
interface. The consistency check will then call the aspect
and the aspect can perform any custom
consistency check and report back to the
checker.
方面本身可以通过实现方面一致性检查接口来执行额外的一致性检查。然后,一致性检查将调用该方面,该方面可以执行任何自定义一致性检查并报告给检查器。
These checks are done by default, and the behavior can be
customized through the Options dialog window opened up
by clicking the Options button in the toolbar. See
Figure 48.
默认情况下会执行这些检查,并且可以通过单击工具栏中的“选项”按钮打开的“选项”对话框窗口自定义行为。参见图
48。

图 48