ABB_800xA学习笔记229:System_800xA_Control_6.0_AC_800M_Configuration19

标签:
abbsystem_800xa_ac800m配置手册 |
分类: ABBDCS |
继续学习配置手册第一章
Types in Applications
应用程序中的类型
Creating a type in an application is
the quickest and easiest way to get
started. Before
creating types in an application, no new libraries need to be
created; use the available methods like connect libraries,
create user defined data types, and
select the
object type to use (see Decisions When Creating Types on page 64).
However, if a type is created directly in an application,
it can only be used inside
that application.
在应用程序中创建一个类型是最快速和最简单的入门方法。在应用程序创建类型之前,无需创建新库。采用可用的方法,包括连接库,创建用户定义数据类型,选择要使用的对象类型(见第64页当创建类型的描述)。但是,如果类型是在应用程序中直接创建的,那只能在该应用程序内部使用。
Figure 15. Types created under an
application
图 15. 在应用程序创建类型
To gain access to standard libraries
(or user defined libraries), insert them into
the control
project (see Library Management on page 135), and connect them to
the application. This allows the creation of
instances in the application, from
existing types in the connected libraries.
要访问标准库(或者用户定义库),插入它们到控制项目(第135页库管理),连接它们到应用程序。这允许从连接的库中可用的类型,在应用程序创建实例。
Types in User defined
Library
用户定义库的类型
The
advantage of creating types inside a library, instead of creating
them directly in an application, is the possibility to re-use
them in other applications. If the types
are created
in a library, all the necessary functionality can be stored in this
library. The library can then be connected to any
application.
在库中创建类型,而不是直接在应用程序中创建类型的好处是可以在其它应用程序中重用它。如果是在库中创建类型,所有的必要的功能可以存储在该库中。库可以连接到任何应用程序。
If a new library is created, user
defined types can be created in that library
(the 800xA System
does not allow creation of types in a standard
library).
如果创建新库,可以在该库创建用户定义类型(800xA系统不允许在标准库中创建类型)。
Figure 16. A Type (MyControlLoop)
created in MyTypeLib library. This example shows a control loop
created as a diagram type, while the components are ready-made
instances from the standard libraries
图 16.
在MyTypeLib库中创建类型(MyControlLoop)。该例子显示了创建关系图表类型的控制循环,而组件时标准库中现成的实例。