ABB_800xA学习笔记173:System_800xA_Control_6.0_AC_800M_Getting_Started_13

标签:
abb800xasystem_ac800m入门材料 |
分类: ABBDCS |
继续学习。
Applications Folder
应用文件夹
The Applications folder holds all
code that is downloaded to the
controller(s). This code is stored as programs, control
modules, single control modules
or diagrams. The chosen method depends on the
requirements of the particular application.
应用文件夹包含有下载到控制的所有的代码。这些代码存储为程序,控制模板,单个控制模块和图表。选择的方法取决于特定应用的要求。
The
Applications folder contains applications and other application
folders.
“应用”文件夹包含应用程序和其他应用程序文件夹。
To
create a new application folder under the Applications folder,
right click the Applications folder and select New Folder (see
Figure 7). The new application folder can in turn contain both applications
and application folders.
为了在应用文件夹下创建新的应用文件夹,右键点击应用文件夹,选择新建文件夹(见图7)。新的应用程序文件夹可以同时包含应用程序和应用程序文件夹。
Figure 7. Creating a new application
folder inside the Applications folder
图 7. 在应用文件夹里面新建应用文件夹
The application folders helps to
structure or group the applications in
the Project
Explorer. It is also possible to move applications and application
folders in the folder structure using the drag-and-drop
operation.
应用文件夹帮助在项目浏览器中对应用进行结构化和分组。它同时可以在文件夹结构中使用拖拽方式移动应用和应用文件夹。
The
Connected Libraries folder under the application contains all
libraries that are connected to the particular application. To
connect a library to an application,
right click
the Connected Libraries folder, select Connect Library, and select
the required library from the drop down
list.
应用程序下的“连接的库”文件夹包含连接到特定应用程序的所有库。若要将库连接到应用程序,请右键单击“连接的库”文件夹,选择“连接库”,然后从下拉列表中选择所需的库。
The types that can be created under
the application are Data Types, Diagram
Types, Function
Block Types, Control Module Types. If a library is connected to
the application, the types from that library can
also be used in the application.
可以在应用程序下创建的类型包括数据类型,图表类型,功能块类型,控制模块类型。如果一个库连接到应用程序,可以使用来自于该库的类型。
In the application, the code is
organized in any of the following folders:
在应用程序中,代码组织在以下任一文件夹中:
- Programs
程序 - Control Modules
控制模块 - Diagrams
图表
For more information, refer to the
manual AC 800M, Configuration
更多信息,参见《 AC 800M, Configuration》手册。
The
Diagrams folder in the default application contains three diagrams.
These three diagrams are connected to three default tasks,
see Controllers Folder on page
34. You can
change these task connections, as well as add your own tasks and
diagrams
默认应用程序下图表文件夹包含三个图表。这三个图表连接到三个默认任务,见34页控制器文件夹。你可以改变这些任务连接,也可以添加自己的任务和图表。
When
a new application is created, the subfolders – Programs,
Diagrams, Control
Modules, Control Module Types, Data Types, Diagram Types,
and Function Block Types – are not visible because
they do not contain any
objects. Right-click the application to open the context
menu, and go to New, which displays the option to create the different
types, control modules, diagrams,
and programs (see Figure 8). Once these are
created, they are displayed under
the corresponding subfolders in the
application.
当创建新的应用程序,子文件夹-程序,图表,控制模块,控制模块类型,数据类型,图表类型和功能块类型不可见,因为它们没有连接任何对象。右键点击应用程序,打开关联菜单,转到新建,显示创建不同类型的选项,控制模块,图表和程序(见图8)。一旦它们被创建,它们显示在应用程序中的相应子文件夹下。

Figure 8. Creating types, control
modules, diagrams or programs under an application.
图 8. 在应用程序下面创建类型,控制模块,图表或者程序。
From the objects in the Applications
folder, a number of software editors can be opened, see Editors on
page 37.
从应用文件夹的对象中,可以打开许多软件百安机器,见37页编辑器。
To check the code for errors, click
the Check icon on the toolbar. If there are
errors in the
project, these are indicated by a red triangle next to the object
(in Offline mode). The descriptions of the errors are
displayed in the Check tab of the
message pane.
如果想检查代码是不是有错,点击工具栏上的检查图标。如果项目中有错误,这些由对象旁边的红色三角形表示(在离线模式下)。错误说明显示在消息窗格的“检查”选项卡中。